/** * Factory method that should only be called from unit tests, where seed * value should remain the same. */ protected static BytesToNameCanonicalizer createRoot(int hashSeed) { return new BytesToNameCanonicalizer(DEFAULT_TABLE_SIZE, true, hashSeed); }
/** * Factory method used to create actual symbol table instance to * use for parsing. * * @param intern Whether canonical symbol Strings should be interned * or not */ public BytesToNameCanonicalizer makeChild(boolean canonicalize, boolean intern) { return new BytesToNameCanonicalizer(this, intern, _hashSeed, _tableInfo.get()); }
/** * Factory method that should only be called from unit tests, where seed * value should remain the same. */ protected static BytesToNameCanonicalizer createRoot(int hashSeed) { return new BytesToNameCanonicalizer(DEFAULT_TABLE_SIZE, true, hashSeed); }
/** * Factory method used to create actual symbol table instance to * use for parsing. * * @param intern Whether canonical symbol Strings should be interned * or not */ public BytesToNameCanonicalizer makeChild(boolean canonicalize, boolean intern) { return new BytesToNameCanonicalizer(this, intern, _hashSeed, _tableInfo.get()); }
public static BytesToNameCanonicalizer createRoot() { return new BytesToNameCanonicalizer(DEFAULT_TABLE_SIZE, true); }
public static BytesToNameCanonicalizer createRoot() { return new BytesToNameCanonicalizer(DEFAULT_TABLE_SIZE, true); }
/** * @param intern Whether canonical symbol Strings should be interned * or not */ public synchronized BytesToNameCanonicalizer makeChild(boolean canonicalize, boolean intern) { return new BytesToNameCanonicalizer(this, intern); }
/** * @param intern Whether canonical symbol Strings should be interned * or not */ public synchronized BytesToNameCanonicalizer makeChild(boolean canonicalize, boolean intern) { return new BytesToNameCanonicalizer(this, intern); }