|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--javax.media.jai.util.CaselessStringKey
Class to use as the key in a java.util.Map.
The case of the name is maintained but the equals()
method performs case-insensitive comparison.
PropertySourceImpl,
Map, Serialized Form| Constructor Summary | |
CaselessStringKey(String name)
Creates a CaselessStringKey for the given name. |
|
| Method Summary | |
Object |
clone()
Returns a clone of the CaselessStringKey as an
Object. |
boolean |
equals(Object o)
Whether another Object equals this one. |
String |
getName()
Returns the internal name by reference. |
int |
hashCode()
Returns a hash code value for the CaselessStringKey. |
void |
setName(String name)
Stores the parameter by reference in the internal name. |
String |
toString()
Returns the value returned by getName(). |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public CaselessStringKey(String name)
CaselessStringKey for the given name.
The parameter name is stored by reference.name is
null.| Method Detail |
public int hashCode()
CaselessStringKey.public String getName()
public void setName(String name)
name is
null.public Object clone()
CaselessStringKey as an
Object.public boolean equals(Object o)
Object equals this one. This will obtain
if and only if the parameter is non-null and is a
CaselessStringKey whose lower case name equals the
lower case name of this CaselessStringKey.public String toString()
getName().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||