version = mThisVersion+1; return new SymbolTable(internStrings, symbols, buckets, size, sizeThreshold, indexMask, version);
cfg = cfg.createNonShared(new SymbolTable());
/** * "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 SymbolTable makeChild() { return new SymbolTable(mInternStrings, mSymbols, mBuckets, mSize, mSizeThreshold, mIndexMask, mThisVersion+1); }
/** * "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 SymbolTable makeChild() { return new SymbolTable(mInternStrings, mSymbols, mBuckets, mSize, mSizeThreshold, mIndexMask, mThisVersion+1); }
/** * "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 SymbolTable makeChild() { return new SymbolTable(mInternStrings, mSymbols, mBuckets, mSize, mSizeThreshold, mIndexMask, mThisVersion+1); }
version = mThisVersion+1; return new SymbolTable(internStrings, symbols, buckets, size, sizeThreshold, indexMask, version);
version = mThisVersion+1; return new SymbolTable(internStrings, symbols, buckets, size, sizeThreshold, indexMask, version);
version = mThisVersion+1; return new SymbolTable(internStrings, symbols, buckets, size, sizeThreshold, indexMask, version);
version = mThisVersion+1; return new SymbolTable(internStrings, symbols, buckets, size, sizeThreshold, indexMask, version);
cfg = cfg.createNonShared(new SymbolTable());
cfg = cfg.createNonShared(new SymbolTable());
cfg = cfg.createNonShared(new SymbolTable());
cfg = cfg.createNonShared(new SymbolTable());
ReaderConfig cfg = ReaderConfig.createFullDefaults(); cfg = cfg.createNonShared(new SymbolTable());
ReaderConfig cfg = ReaderConfig.createFullDefaults(); cfg = cfg.createNonShared(new SymbolTable());
ReaderConfig cfg = ReaderConfig.createFullDefaults(); cfg = cfg.createNonShared(new SymbolTable());