Module org.jhotdraw8.collection
Interface ByteSequencedCollection
- All Superinterfaces:
Collection<Byte>,Iterable<Byte>,SequencedCollection<Byte>
- All Known Subinterfaces:
ByteList
- All Known Implementing Classes:
ByteArrayList
Interface for collection of
int-values with a well-defined linear
ordering of its elements.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidvoidaddFirstAsByte(byte e) default voiddefault voidaddLastAllAsByte(byte[] array) default voidaddLastAllAsByte(byte[] array, int offset, int length) voidaddLastAsByte(byte e) default BytegetFirst()bytedefault BytegetLast()bytedefault Bytebytedefault BytebyteMethods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface java.util.SequencedCollection
reversed
-
Method Details
-
addFirstAsByte
void addFirstAsByte(byte e) -
addLastAsByte
void addLastAsByte(byte e) -
getFirstAsByte
byte getFirstAsByte() -
getLastAsByte
byte getLastAsByte() -
removeFirstAsByte
byte removeFirstAsByte() -
removeLastAsByte
byte removeLastAsByte() -
addFirst
- Specified by:
addFirstin interfaceSequencedCollection<Byte>
-
addLast
- Specified by:
addLastin interfaceSequencedCollection<Byte>
-
getFirst
- Specified by:
getFirstin interfaceSequencedCollection<Byte>
-
getLast
- Specified by:
getLastin interfaceSequencedCollection<Byte>
-
removeFirst
- Specified by:
removeFirstin interfaceSequencedCollection<Byte>
-
removeLast
- Specified by:
removeLastin interfaceSequencedCollection<Byte>
-
addLastAllAsByte
default void addLastAllAsByte(byte[] array) -
addLastAllAsByte
default void addLastAllAsByte(byte[] array, int offset, int length)
-