All Packages Class Hierarchy This Package Previous Next Index
Class hplb.xml.Atom
java.lang.Object
|
+----hplb.xml.Atom
- public final class Atom
- extends Object
This class is responsible for maintaining strings as atoms,
i.e. if two strings returned by getAtom() are equal in the sense of
String.equal() then they are in fact the same Object. This is used to
"intern" element and attribute names which can then be compared using
the more efficient reference equality, a la "s1==s2".
- Author:
- Anders Kristensen
-
Atom()
-
-
getAtom(String)
- Return an atom corresponding to the argument.
Atom
public Atom()
getAtom
public static String getAtom(String s)
- Return an atom corresponding to the argument.
All Packages Class Hierarchy This Package Previous Next Index