Package gnu.lists
Interface IntSequence
- All Superinterfaces:
Array<Integer>
,AVector<Integer>
,BoundedHashable
,Collection<Integer>
,Consumable
,IntUnaryOperator
,Iterable<Integer>
,List<Integer>
,Sequence<Integer>
,SequencedCollection<Integer>
- All Known Implementing Classes:
Range.IntRange
,S32Vector
-
Field Summary
Fields inherited from interface gnu.lists.Sequence
ATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
applyAsInt
(int operand) int
getInt
(int index) int
size()
See java.util.List.Methods inherited from interface gnu.lists.Array
asImmutable, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, get, get, get, get, get, getBooleanRaw, getByteRaw, getCharRaw, getDoubleRaw, getElementKind, getFloatRaw, getInt, getInt, getInt, getInt, getIntRaw, getLongRaw, getLowBound, getRaw, getRowMajor, getShortRaw, getSize, getSize, isEmpty, rank, set, setRaw
Methods inherited from interface gnu.kawa.util.BoundedHashable
boundedHash
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface gnu.lists.Consumable
consume
Methods inherited from interface java.util.function.IntUnaryOperator
andThen, compose
Methods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, subList, toArray, toArray
-
Method Details
-
getInt
int getInt(int index) -
size
int size()Description copied from interface:Sequence
See java.util.List. -
applyAsInt
default int applyAsInt(int operand) - Specified by:
applyAsInt
in interfaceIntUnaryOperator
-