/** * Creates a new revision object for this value store, invalidating any IDs cached in NativeValue objects * that were created by this value store. */ private void setNewRevision() { revision = new ValueStoreRevision(this); }
/** * Checks if the supplied Value object is a NativeValue object that has been created by this ValueStore. */ private boolean isOwnValue(Value value) { return value instanceof NativeValue && ((NativeValue)value).getValueStoreRevision().getValueStore() == this; }
/** * Checks if the supplied Value object is a NativeValue object that has been created by this ValueStore. */ private boolean isOwnValue(Value value) { return value instanceof NativeValue && ((NativeValue)value).getValueStoreRevision().getValueStore() == this; }
/** * Creates a new revision object for this value store, invalidating any IDs cached in NativeValue objects * that were created by this value store. */ private void setNewRevision() { revision = new ValueStoreRevision(this); }