railo.commons.lang
Class Pair

java.lang.Object
  extended by railo.commons.lang.Pair
All Implemented Interfaces:
Serializable

public final class Pair
extends Object
implements Serializable

a Simple name value Pair

See Also:
Serialized Form

Constructor Summary
Pair(String name, Object value)
          Constructor of the class
 
Method Summary
 String getName()
           
 Object getValue()
           
 void setName(String name)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pair

public Pair(String name,
            Object value)
Constructor of the class

Parameters:
name -
value -
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

toString

public String toString()
Overrides:
toString in class Object

getValue

public Object getValue()
Returns:
the value

setValue

public void setValue(Object value)
Parameters:
value - the value to set


Copyright © 2012 Railo