Package org.drasyl.handler.stream
Class MessageChunksBufferInputList
java.lang.Object
org.drasyl.handler.stream.MessageChunksBufferInputList
- All Implemented Interfaces:
Iterable<MessageChunk>
,Collection<MessageChunk>
,List<MessageChunk>
Deprecated.
Special
List
implementation which is used within our MessageChunksBuffer
.
Beware: Only size()
, isEmpty()
, iterator()
, toArray()
, clear()
, get(int)
, and List.set(int, Object)
are implemented.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, MessageChunk element) Deprecated.boolean
add
(MessageChunk e) Deprecated.boolean
addAll
(int index, Collection<? extends MessageChunk> c) Deprecated.boolean
addAll
(Collection<? extends MessageChunk> c) Deprecated.void
clear()
Deprecated.boolean
Deprecated.boolean
containsAll
(Collection<?> c) Deprecated.get
(int index) Deprecated.int
Deprecated.boolean
isEmpty()
Deprecated.iterator()
Deprecated.int
Deprecated.Deprecated.listIterator
(int index) Deprecated.remove
(int index) Deprecated.boolean
Deprecated.boolean
removeAll
(Collection<?> c) Deprecated.boolean
retainAll
(Collection<?> c) Deprecated.set
(int index, MessageChunk element) Deprecated.int
size()
Deprecated.subList
(int fromIndex, int toIndex) Deprecated.Object[]
toArray()
Deprecated.<T> T[]
toArray
(T[] a) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
MessageChunksBufferInputList
public MessageChunksBufferInputList(int capacity) Deprecated.
-
-
Method Details
-
size
public int size()Deprecated.- Specified by:
size
in interfaceCollection<MessageChunk>
- Specified by:
size
in interfaceList<MessageChunk>
-
isEmpty
public boolean isEmpty()Deprecated.- Specified by:
isEmpty
in interfaceCollection<MessageChunk>
- Specified by:
isEmpty
in interfaceList<MessageChunk>
-
contains
Deprecated.- Specified by:
contains
in interfaceCollection<MessageChunk>
- Specified by:
contains
in interfaceList<MessageChunk>
-
iterator
Deprecated.- Specified by:
iterator
in interfaceCollection<MessageChunk>
- Specified by:
iterator
in interfaceIterable<MessageChunk>
- Specified by:
iterator
in interfaceList<MessageChunk>
-
toArray
Deprecated.- Specified by:
toArray
in interfaceCollection<MessageChunk>
- Specified by:
toArray
in interfaceList<MessageChunk>
-
toArray
public <T> T[] toArray(T[] a) Deprecated.- Specified by:
toArray
in interfaceCollection<MessageChunk>
- Specified by:
toArray
in interfaceList<MessageChunk>
-
add
Deprecated.- Specified by:
add
in interfaceCollection<MessageChunk>
- Specified by:
add
in interfaceList<MessageChunk>
-
remove
Deprecated.- Specified by:
remove
in interfaceCollection<MessageChunk>
- Specified by:
remove
in interfaceList<MessageChunk>
-
containsAll
Deprecated.- Specified by:
containsAll
in interfaceCollection<MessageChunk>
- Specified by:
containsAll
in interfaceList<MessageChunk>
-
addAll
Deprecated.- Specified by:
addAll
in interfaceCollection<MessageChunk>
- Specified by:
addAll
in interfaceList<MessageChunk>
-
addAll
Deprecated.- Specified by:
addAll
in interfaceList<MessageChunk>
-
removeAll
Deprecated.- Specified by:
removeAll
in interfaceCollection<MessageChunk>
- Specified by:
removeAll
in interfaceList<MessageChunk>
-
retainAll
Deprecated.- Specified by:
retainAll
in interfaceCollection<MessageChunk>
- Specified by:
retainAll
in interfaceList<MessageChunk>
-
clear
public void clear()Deprecated.- Specified by:
clear
in interfaceCollection<MessageChunk>
- Specified by:
clear
in interfaceList<MessageChunk>
-
get
Deprecated.- Specified by:
get
in interfaceList<MessageChunk>
-
set
Deprecated.- Specified by:
set
in interfaceList<MessageChunk>
-
add
Deprecated.- Specified by:
add
in interfaceList<MessageChunk>
-
remove
Deprecated.- Specified by:
remove
in interfaceList<MessageChunk>
-
indexOf
Deprecated.- Specified by:
indexOf
in interfaceList<MessageChunk>
-
lastIndexOf
Deprecated.- Specified by:
lastIndexOf
in interfaceList<MessageChunk>
-
listIterator
Deprecated.- Specified by:
listIterator
in interfaceList<MessageChunk>
-
listIterator
Deprecated.- Specified by:
listIterator
in interfaceList<MessageChunk>
-
subList
Deprecated.- Specified by:
subList
in interfaceList<MessageChunk>
-