Class FloatArrayList.SubList
- All Implemented Interfaces:
FloatCollection,FloatIterable,FloatList,FloatStack,Stack<Float>,Serializable,Comparable<List<? extends Float>>,Iterable<Float>,Collection<Float>,List<Float>,RandomAccess,SequencedCollection<Float>
- Enclosing class:
FloatArrayList
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatList
AbstractFloatList.FloatRandomAccessSubList, AbstractFloatList.FloatSubList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompares this list to another object.booleanfloatgetFloat(int i) Returns the element at the specified position in this list.listIterator(int index) Returns a type-specific list iterator on the list starting at a given index.Returns a type-specific spliterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatList.FloatRandomAccessSubList
subListMethods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatList.FloatSubList
add, add, addAll, addAll, addAll, addElements, getElements, rem, removeElements, removeFloat, set, setElements, sizeMethods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatList
addAll, addAll, addElements, clear, contains, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekFloat, popFloat, push, size, toArray, toFloatArray, topFloat, toStringMethods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatCollection
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toFloatArrayMethods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArrayMethods inherited from interface java.util.Collection
toArrayMethods inherited from interface it.unimi.dsi.fastutil.floats.FloatCollection
containsAll, doubleIterator, doubleParallelStream, doubleSpliterator, doubleStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toFloatArrayMethods inherited from interface it.unimi.dsi.fastutil.floats.FloatIterable
forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.floats.FloatList
add, add, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSortMethods inherited from interface it.unimi.dsi.fastutil.floats.FloatStack
peek, pop, push, topMethods inherited from interface java.util.List
addFirst, addLast, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, retainAll, reversed, toArray, toArray
-
Constructor Details
-
SubList
public SubList(int from, int to)
-
-
Method Details
-
getFloat
public float getFloat(int i) Description copied from interface:FloatListReturns the element at the specified position in this list.- Specified by:
getFloatin interfaceFloatList- Overrides:
getFloatin classAbstractFloatList.FloatSubList- See Also:
-
listIterator
Description copied from class:AbstractFloatListReturns a type-specific list iterator on the list starting at a given index.- Specified by:
listIteratorin interfaceFloatList- Specified by:
listIteratorin interfaceList<Float>- Overrides:
listIteratorin classAbstractFloatList.FloatSubList- See Also:
-
spliterator
Description copied from interface:FloatCollectionReturns a type-specific spliterator on the elements of this collection.See
Collection.spliterator()for more documentation on the requirements of the returned spliterator.- Specified by:
spliteratorin interfaceCollection<Float>- Specified by:
spliteratorin interfaceFloatCollection- Specified by:
spliteratorin interfaceFloatIterable- Specified by:
spliteratorin interfaceFloatList- Specified by:
spliteratorin interfaceIterable<Float>- Specified by:
spliteratorin interfaceList<Float>- Overrides:
spliteratorin classAbstractFloatList.FloatSubList- Returns:
- a type-specific spliterator on the elements of this collection.
-
equals
- Specified by:
equalsin interfaceCollection<Float>- Specified by:
equalsin interfaceList<Float>- Overrides:
equalsin classAbstractFloatList
-
compareTo
Description copied from class:AbstractFloatListCompares this list to another object. If the argument is aList, this method performs a lexicographical comparison; otherwise, it throws aClassCastException.- Specified by:
compareToin interfaceComparable<List<? extends Float>>- Overrides:
compareToin classAbstractFloatList- Parameters:
l- a list.- Returns:
- if the argument is a
List, a negative integer, zero, or a positive integer as this list is lexicographically less than, equal to, or greater than the argument.
-