Package gnu.lists
Interface IntSequence
-
- All Superinterfaces:
Array<Integer>
,AVector<Integer>
,BoundedHashable
,Collection<Integer>
,Consumable
,IntUnaryOperator
,Iterable<Integer>
,List<Integer>
,Sequence<Integer>
- All Known Implementing Classes:
Range.IntRange
,S32Vector
public interface IntSequence extends AVector<Integer>, IntUnaryOperator
-
-
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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, clear, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
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
-
-