com.go.trove.util
Class AbstractMapEntry

java.lang.Object
  |
  +--com.go.trove.util.AbstractMapEntry
All Implemented Interfaces:
java.util.Map.Entry

public abstract class AbstractMapEntry
extends java.lang.Object
implements java.util.Map.Entry

Abstract Map.Entry implementation that makes it easier to define new Map entries.

Version:
13 , 1/23/01
Author:
Brian S O'Neill

Constructor Summary
AbstractMapEntry()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.Object setValue(java.lang.Object value)
          Always throws UnsupportedOperationException.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
getKey, getValue
 

Constructor Detail

AbstractMapEntry

public AbstractMapEntry()
Method Detail

setValue

public java.lang.Object setValue(java.lang.Object value)
Always throws UnsupportedOperationException.
Specified by:
setValue in interface java.util.Map.Entry

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map.Entry
Overrides:
hashCode in class java.lang.Object

toString

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