Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class WrapperCollections.AbstractWrapperEntry

java.lang.Object
  extended by com.tangosol.util.WrapperCollections.AbstractWrapperEntry

All Implemented Interfaces:
java.util.Map.Entry
Enclosing class:
WrapperCollections

public abstract static class WrapperCollections.AbstractWrapperEntry
extends java.lang.Object
implements java.util.Map.Entry

Map.Entry implementation which delegates all calls to another Map.Entry.


Constructor Summary
protected WrapperCollections.AbstractWrapperEntry(java.util.Map.Entry entry)
          Create an AbstractWrapperEntry which delegates to the specified Entry.

 

Method Summary
 boolean equals(java.lang.Object o)
          
protected  java.util.Map.Entry getDelegate()
          Return the Map to which all operations should be delegated to.
 java.lang.Object getKey()
          
 java.lang.Object getValue()
          
 int hashCode()
          
 java.lang.Object setValue(java.lang.Object oValue)
          
 java.lang.String toString()
          

 

Constructor Detail

WrapperCollections.AbstractWrapperEntry

protected WrapperCollections.AbstractWrapperEntry(java.util.Map.Entry entry)
Create an AbstractWrapperEntry which delegates to the specified Entry.
Parameters:
entry - the Entry to delegate all calls to

Method Detail

getDelegate

protected java.util.Map.Entry getDelegate()
Return the Map to which all operations should be delegated to.
Returns:
the wrapped Map

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface java.util.Map.Entry

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.util.Map.Entry

setValue

public java.lang.Object setValue(java.lang.Object oValue)
Specified by:
setValue in interface java.util.Map.Entry

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map.Entry

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map.Entry

toString

public java.lang.String toString()

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.