Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class ImmutableArrayList.SetView

java.lang.Object
  extended by com.tangosol.util.WrapperCollections.AbstractWrapperCollection
      extended by com.tangosol.util.WrapperCollections.AbstractWrapperSet
          extended by com.tangosol.util.ImmutableArrayList.SetView

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

protected class ImmutableArrayList.SetView
extends WrapperCollections.AbstractWrapperSet

SetView exposes the underlying ImmutableArrayList through the Set interface, maintaining correct equals() and hashCode() semantics


Constructor Summary
protected ImmutableArrayList.SetView()
          Create a SetView 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.AbstractWrapperSet
getDelegate

 

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.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray

 

Constructor Detail

ImmutableArrayList.SetView

protected ImmutableArrayList.SetView()
Create a SetView 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.Set
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.Set
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.