@Override protected ZoieContext initialValue() { return new ZoieContext(); } };
@Override protected ZoieContext initialValue() { return new ZoieContext(); } };
@Override protected ZoieContext initialValue() { return new ZoieContext(); } };
/** * clone the ZoieContext so that the internal hashmap is deep-copied to the * extend that in the clone, the ZoieReaderContexts are clones of the * original. Note that the internals of ZoieReaderContexts are shallow copies. * * @see java.lang.Object#clone() */ @Override protected ZoieContext clone() { ZoieContext ctx = new ZoieContext(); for (Entry<ZoieMultiReader<?>, ZoieReaderContext> pair : _zoieContextMap.entrySet()) { ctx._zoieContextMap.put(pair.getKey(), pair.getValue().clone()); } return ctx; }
/** * clone the ZoieContext so that the internal hashmap is deep-copied to the * extend that in the clone, the ZoieReaderContexts are clones of the * original. Note that the internals of ZoieReaderContexts are shallow copies. * * @see java.lang.Object#clone() */ @Override protected ZoieContext clone() { ZoieContext ctx = new ZoieContext(); for (Entry<ZoieMultiReader<?>, ZoieReaderContext> pair : _zoieContextMap.entrySet()) { ctx._zoieContextMap.put(pair.getKey(), pair.getValue().clone()); } return ctx; }
/** * clone the ZoieContext so that the internal hashmap is deep-copied to the * extend that in the clone, the ZoieReaderContexts are clones of the * original. Note that the internals of ZoieReaderContexts are shallow copies. * * @see java.lang.Object#clone() */ @Override protected ZoieContext clone() { ZoieContext ctx = new ZoieContext(); for (Entry<ZoieIndexReader<?>, ZoieReaderContext> pair : _zoieContextMap .entrySet()) { ctx._zoieContextMap.put(pair.getKey(), pair.getValue().clone()); } return ctx; }