Module org.jhotdraw8.collection
Interface IntSequencedCollection
- All Superinterfaces:
Collection<Integer>,Iterable<Integer>,SequencedCollection<Integer>
- All Known Implementing Classes:
IntArrayDeque,IntArrayList
Interface for collection of
int-values with a well-defined linear
ordering of its elements.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidvoidaddFirstAsInt(int e) default voiddefault voidaddLastAllAsInt(int @NonNull [] array) default voidaddLastAllAsInt(int @NonNull [] array, int offset, int length) voidaddLastAsInt(int e) default IntegergetFirst()intdefault IntegergetLast()intdefault Integerintdefault IntegerintMethods 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
-
addFirstAsInt
void addFirstAsInt(int e) -
addLastAsInt
void addLastAsInt(int e) -
getFirstAsInt
int getFirstAsInt() -
getLastAsInt
int getLastAsInt() -
removeFirstAsInt
int removeFirstAsInt() -
removeLastAsInt
int removeLastAsInt() -
addFirst
- Specified by:
addFirstin interfaceSequencedCollection<Integer>
-
addLast
- Specified by:
addLastin interfaceSequencedCollection<Integer>
-
getFirst
- Specified by:
getFirstin interfaceSequencedCollection<Integer>
-
getLast
- Specified by:
getLastin interfaceSequencedCollection<Integer>
-
removeFirst
- Specified by:
removeFirstin interfaceSequencedCollection<Integer>
-
removeLast
- Specified by:
removeLastin interfaceSequencedCollection<Integer>
-
addLastAllAsInt
-
addLastAllAsInt
-