Project Wonder 2.0

er.extensions
Class ERXKeyValuePair

java.lang.Object
  extended byer.extensions.ERXKeyValuePair

public class ERXKeyValuePair
extends Object

Very simple class used for hold key-value pairs.


Field Summary
protected  Object _key
          holds the key
protected  Object _value
          holds the value
 
Constructor Summary
ERXKeyValuePair(Object newKey, Object newValue)
          Public constructor
 
Method Summary
 boolean equals(Object object)
           
 Object key()
          returns the key
 void setKey(Object newKey)
          Sets the key.
 void setValue(Object value)
          Sets the value
 String toString()
           
 Object value()
          returns the value
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_key

protected Object _key
holds the key


_value

protected Object _value
holds the value

Constructor Detail

ERXKeyValuePair

public ERXKeyValuePair(Object newKey,
                       Object newValue)
Public constructor

Parameters:
newKey - key
newValue - value
Method Detail

setKey

public void setKey(Object newKey)
Sets the key.

Parameters:
newKey - new key value

key

public Object key()
returns the key

Returns:
da key

setValue

public void setValue(Object value)
Sets the value

Parameters:
value - new value

value

public Object value()
returns the value

Returns:
da value

equals

public boolean equals(Object object)

toString

public String toString()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.