protected class ImmutableArrayList.ListView
extends com.oracle.common.collections.WrapperCollections.AbstractWrapperList
List
interface, maintaining correct equals() and hashCode() semanticsModifier | Constructor and Description |
---|---|
protected |
ListView()
Create a ListView over this ImmutableArrayList.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
add, addAll, get, getDelegate, indexOf, lastIndexOf, listIterator, listIterator, remove, replaceAll, set, sort, subList
add, addAll, clear, contains, containsAll, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean equals(Object o)
equals
in interface Collection
equals
in interface List
equals
in class com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection
public int hashCode()
hashCode
in interface Collection
hashCode
in interface List
hashCode
in class com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection
public String toString()
toString
in class com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection