Class ImmutableCollections.ListN<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.apache.maven.api.plugin.descriptor.lifecycle.ImmutableCollections.AbstractImmutableList<E>
org.apache.maven.api.plugin.descriptor.lifecycle.ImmutableCollections.ListN<E>
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,List<E>,RandomAccess
- Enclosing class:
ImmutableCollections
private static class ImmutableCollections.ListN<E>
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.plugin.descriptor.lifecycle.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
-
elements
-
-
Constructor Details
-
ListN
-
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-