Package org.apache.maven.api.settings
Class ImmutableCollections.AbstractImmutableList.SubList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.apache.maven.api.settings.ImmutableCollections.AbstractImmutableList<E>
org.apache.maven.api.settings.ImmutableCollections.AbstractImmutableList.SubList
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,List<E>,RandomAccess
- Enclosing class:
ImmutableCollections.AbstractImmutableList<E>
private class ImmutableCollections.AbstractImmutableList.SubList
extends ImmutableCollections.AbstractImmutableList<E>
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.api.settings.ImmutableCollections.AbstractImmutableList
add, addAll, clear, iterator, listIterator, listIterator, outOfBounds, remove, removeAll, removeIf, replaceAll, retainAll, sort, subListMethods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, lastIndexOf, remove, removeRange, setMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
contains, containsAll, isEmpty, spliterator, toArray, toArray
-
Field Details
-
fromIndex
private final int fromIndex -
toIndex
private final int toIndex
-
-
Constructor Details
-
SubList
private SubList(int fromIndex, int toIndex)
-
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-