Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class WrapperCollections.AbstractWrapperMap

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

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

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

Map implementation which delegates all calls to another Map.


Nested Class Summary

 

Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry

 

Constructor Summary
protected WrapperCollections.AbstractWrapperMap(java.util.Map map)
          Create an AbstractWrapperMap which delegates to the specified Map.

 

Method Summary
 void clear()
          
 boolean containsKey(java.lang.Object oKey)
          
 boolean containsValue(java.lang.Object oValue)
          
 java.util.Set entrySet()
          
 boolean equals(java.lang.Object oOther)
          
 java.lang.Object get(java.lang.Object oKey)
          
protected  java.util.Map getDelegate()
          Return the Map to which all operations should be delegated to.
 int hashCode()
          
 boolean isEmpty()
          
 java.util.Set keySet()
          
 java.lang.Object put(java.lang.Object oKey, java.lang.Object oValue)
          
 void putAll(java.util.Map map)
          
 java.lang.Object remove(java.lang.Object oKey)
          
 int size()
          
 java.lang.String toString()
          
 java.util.Collection values()
          

 

Constructor Detail

WrapperCollections.AbstractWrapperMap

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

Method Detail

getDelegate

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

clear

public void clear()
Specified by:
clear in interface java.util.Map

containsKey

public boolean containsKey(java.lang.Object oKey)
Specified by:
containsKey in interface java.util.Map

containsValue

public boolean containsValue(java.lang.Object oValue)
Specified by:
containsValue in interface java.util.Map

entrySet

public java.util.Set entrySet()
Specified by:
entrySet in interface java.util.Map

get

public java.lang.Object get(java.lang.Object oKey)
Specified by:
get in interface java.util.Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map

keySet

public java.util.Set keySet()
Specified by:
keySet in interface java.util.Map

put

public java.lang.Object put(java.lang.Object oKey,
                            java.lang.Object oValue)
Specified by:
put in interface java.util.Map

putAll

public void putAll(java.util.Map map)
Specified by:
putAll in interface java.util.Map

remove

public java.lang.Object remove(java.lang.Object oKey)
Specified by:
remove in interface java.util.Map

size

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

values

public java.util.Collection values()
Specified by:
values in interface java.util.Map

equals

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

hashCode

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

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.