jxUtil 0.6

org.sourceforge.jxutil
Class ArrayMapEntry

java.lang.Object
  |
  +--org.sourceforge.jxutil.ArrayMapEntry
All Implemented Interfaces:
Map.Entry

public class ArrayMapEntry
extends Object
implements Map.Entry

An entry in an ArrayMap. The key is stored at 0 position, the value at position 1.


Field Summary
private  Object[] obj
           
 
Constructor Summary
ArrayMapEntry(Object[] obj)
           
 
Method Summary
 Object getKey()
           
 Object getValue()
           
 int hashCode()
           
 Object setValue(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals
 

Field Detail

obj

private Object[] obj
Constructor Detail

ArrayMapEntry

public ArrayMapEntry(Object[] obj)
Method Detail

getKey

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

getValue

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

hashCode

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

setValue

public Object setValue(Object value)
Specified by:
setValue in interface Map.Entry

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.