private CharsToNameCanonicalizer makeOrphan(int seed) { return new CharsToNameCanonicalizer(null, true, true, _symbols, _buckets, _size, seed, _longestCollisionList); }
return new CharsToNameCanonicalizer(this, canonicalize, intern, symbols, buckets, size, hashSeed, longestCollisionList);
private CharsToNameCanonicalizer makeOrphan(int seed) { return new CharsToNameCanonicalizer(null, true, true, _symbols, _buckets, _size, seed, _longestCollisionList); }
return new CharsToNameCanonicalizer(this, canonicalize, intern, symbols, buckets, size, hashSeed, longestCollisionList);
private CharsToNameCanonicalizer makeOrphan() { return new CharsToNameCanonicalizer(null, true, true, _symbols, _buckets, _size); }
private CharsToNameCanonicalizer makeOrphan() { return new CharsToNameCanonicalizer(null, true, true, _symbols, _buckets, _size); }
/** * "Factory" method; will create a new child instance of this symbol * table. It will be a copy-on-write instance, ie. it will only use * read-only copy of parent's data, but when changes are needed, a * copy will be created. *<p> * Note: while this method is synchronized, it is generally not * safe to both use makeChild/mergeChild, AND to use instance * actively. Instead, a separate 'root' instance should be used * on which only makeChild/mergeChild are called, but instance itself * is not used as a symbol table. */ public synchronized CharsToNameCanonicalizer makeChild(boolean canonicalize, boolean intern) { return new CharsToNameCanonicalizer(this, canonicalize, intern, _symbols, _buckets, _size); }
/** * "Factory" method; will create a new child instance of this symbol * table. It will be a copy-on-write instance, ie. it will only use * read-only copy of parent's data, but when changes are needed, a * copy will be created. *<p> * Note: while this method is synchronized, it is generally not * safe to both use makeChild/mergeChild, AND to use instance * actively. Instead, a separate 'root' instance should be used * on which only makeChild/mergeChild are called, but instance itself * is not used as a symbol table. */ public synchronized CharsToNameCanonicalizer makeChild(boolean canonicalize, boolean intern) { return new CharsToNameCanonicalizer(this, canonicalize, intern, _symbols, _buckets, _size); }