/** * Find an element in the current state. * * @return null if the element cannot be determined in the current state since * no change is recorded and it should be determined in the previous * state; otherwise, return a {@link Container} containing the element in * the current state. Note that the element can possibly be null which * means that the element is not found in the current state. */ public Container<E> accessCurrent(K name) { return accessPrevious(name, deleted, created); }
/** * Find an element in the previous state. * * @return null if the element cannot be determined in the previous state * since no change is recorded and it should be determined in the * current state; otherwise, return a {@link Container} containing the * element in the previous state. Note that the element can possibly * be null which means that the element is not found in the previous * state. */ public Container<E> accessPrevious(final K name) { return accessPrevious(name, created, deleted); }
/** * Find an element in the current state. * * @return null if the element cannot be determined in the current state since * no change is recorded and it should be determined in the previous * state; otherwise, return a {@link Container} containing the element in * the current state. Note that the element can possibly be null which * means that the element is not found in the current state. */ public Container<E> accessCurrent(K name) { return accessPrevious(name, deleted, created); }
/** * Find an element in the current state. * * @return null if the element cannot be determined in the current state since * no change is recorded and it should be determined in the previous * state; otherwise, return a {@link Container} containing the element in * the current state. Note that the element can possibly be null which * means that the element is not found in the current state. */ public Container<E> accessCurrent(K name) { return accessPrevious(name, deleted, created); }
/** * Find an element in the previous state. * * @return null if the element cannot be determined in the previous state * since no change is recorded and it should be determined in the * current state; otherwise, return a {@link Container} containing the * element in the previous state. Note that the element can possibly * be null which means that the element is not found in the previous * state. */ public Container<E> accessPrevious(final K name) { return accessPrevious(name, created, deleted); }
/** * Find an element in the previous state. * * @return null if the element cannot be determined in the previous state * since no change is recorded and it should be determined in the * current state; otherwise, return a {@link Container} containing the * element in the previous state. Note that the element can possibly * be null which means that the element is not found in the previous * state. */ public Container<E> accessPrevious(final K name) { return accessPrevious(name, created, deleted); }
final INode inode = newINode(m, width); final Container<INode> r = combined.accessPrevious(inode.getKey()); final INode computed; if (r != null) {