String.intern
Class Overview | Class Members | 
  This Package | 
All Packages
 public native String intern()
Returns
     a string that has the same contents as this string, but is
          guaranteed to be from a pool of unique strings.
  Description
 Returns a canonical representation for the string object. 
 
 If s and t are strings such that 
 s.equals(t), it is guaranteed that
 s.intern() == t.intern().