Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class ImmutableArrayList.ListView

java.lang.Object
  extended by com.tangosol.util.WrapperCollections.AbstractWrapperCollection
      extended by com.tangosol.util.WrapperCollections.AbstractWrapperList
          extended by com.tangosol.util.ImmutableArrayList.ListView

All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.List
Enclosing class:
ImmutableArrayList

protected class ImmutableArrayList.ListView
extends WrapperCollections.AbstractWrapperList

ListView exposes the underlying ImmutableArrayList through the List interface, maintaining correct equals() and hashCode() semantics


Constructor Summary
protected ImmutableArrayList.ListView()
          Create a ListView over this ImmutableArrayList.

 

Method Summary
 boolean equals(java.lang.Object o)
          
 int hashCode()
          
 java.lang.String toString()
          

 

Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperList
add, addAll, get, getDelegate, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList

 

Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray

 

Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray

 

Constructor Detail

ImmutableArrayList.ListView

protected ImmutableArrayList.ListView()
Create a ListView over this ImmutableArrayList.

Method Detail

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection
Specified by:
equals in interface java.util.List
Overrides:
equals in class WrapperCollections.AbstractWrapperCollection

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection
Specified by:
hashCode in interface java.util.List
Overrides:
hashCode in class WrapperCollections.AbstractWrapperCollection

toString

public java.lang.String toString()
Overrides:
toString in class WrapperCollections.AbstractWrapperCollection

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.