Package com.google.common.primitives
Class ImmutableDoubleArray.AsList
- All Implemented Interfaces:
Serializable,Iterable<Double>,Collection<Double>,List<Double>,RandomAccess,SequencedCollection<Double>
- Enclosing class:
ImmutableDoubleArray
static class ImmutableDoubleArray.AsList
extends AbstractList<Double>
implements RandomAccess, Serializable
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, iterator, listIterator, listIterator, remove, removeRange, setMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, toArray, toArray
-
Field Details
-
parent
-
-
Constructor Details
-
AsList
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<Double>- Specified by:
sizein interfaceList<Double>- Specified by:
sizein classAbstractCollection<Double>
-
get
-
contains
- Specified by:
containsin interfaceCollection<Double>- Specified by:
containsin interfaceList<Double>- Overrides:
containsin classAbstractCollection<Double>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Double>- Overrides:
lastIndexOfin classAbstractList<Double>
-
subList
-
spliterator
- Specified by:
spliteratorin interfaceCollection<Double>- Specified by:
spliteratorin interfaceIterable<Double>- Specified by:
spliteratorin interfaceList<Double>
-
equals
- Specified by:
equalsin interfaceCollection<Double>- Specified by:
equalsin interfaceList<Double>- Overrides:
equalsin classAbstractList<Double>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<Double>- Specified by:
hashCodein interfaceList<Double>- Overrides:
hashCodein classAbstractList<Double>
-
toString
- Overrides:
toStringin classAbstractCollection<Double>
-