|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.xml.util.Atom
This is a general purpose object to allow efficient sharing of duplicate strings in the system. It does this by creating a global HashTable of all Atoms that have been constructed.
Method Summary | |
static Atom |
create(String s)
Create a Atom object for this string. |
boolean |
equals(Object that)
Return whether this Atom is equal to another given Atom. |
int |
hashCode()
Return the hash code for the name. |
String |
toString()
Return the string represented by the Atom. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public static Atom create(String s)
public int hashCode()
public String toString()
public boolean equals(Object that)
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |