Package org.apache.maven.api.metadata
Class ImmutableCollections.ListN<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.apache.maven.api.metadata.ImmutableCollections.AbstractImmutableList<E>
org.apache.maven.api.metadata.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.metadata.ImmutableCollections.AbstractImmutableList
add, addAll, clear, iterator, listIterator, listIterator, outOfBounds, remove, removeAll, removeIf, replaceAll, retainAll, sort, subList
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, lastIndexOf, remove, removeRange, set
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods 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:
size
in interfaceCollection<E>
- Specified by:
size
in interfaceList<E>
- Specified by:
size
in classAbstractCollection<E>
-