com.sun.enterprise.universal
Class NameValue<K,V>
java.lang.Object
com.sun.enterprise.universal.NameValue<K,V>
public class NameValue<K,V>
- extends Object
This class is needed so often in so many places. It is centralized once and
for all here.
- Author:
- bnevins
NameValue
public NameValue(K k,
V v)
- Parameters:
k - keyv - value
getName
public K getName()
getValue
public V getValue()
setValue
public V setValue(V newValue)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 GlassFish Community. All Rights Reserved.