railo.commons.lang
Class Pair<K,V>
java.lang.Object
railo.commons.lang.Pair<K,V>
- All Implemented Interfaces:
- Serializable
public final class Pair<K,V>
- extends Object
- implements Serializable
a Simple name value Pair
- See Also:
- Serialized Form
Constructor Summary |
Pair(K name,
V value)
Constructor of the class |
Pair
public Pair(K name,
V value)
- Constructor of the class
- Parameters:
name
- value
-
getName
public K getName()
- Returns:
- the name
setName
public void setName(K name)
- Parameters:
name
- the name to set
toString
public String toString()
- Overrides:
toString
in class Object
getValue
public V getValue()
- Returns:
- the value
setValue
public void setValue(V value)
- Parameters:
value
- the value to set
Copyright © 2012 Railo