/** Creates an immutable snapshot representing the current view of the nodes * in this children object. This is No attempt is made to extract incorrect or invalid * nodes from the list, as a result, the value may not be exactly the same * as returned by {@link #getNodes()}. * * @return immutable and unmodifiable list of nodes in this children object * @since 7.7 */ public final List<Node> snapshot() { return entrySupport().snapshot(); }
List<Node> snapshot = entrySupport().snapshot(); if (snapshot.size() > 0) { int[] idxs = getSnapshotIdxs(snapshot);
List<Node> snapshot = getEntrySupport().snapshot(); if (snapshot.size() > 0) { int[] idxs = getSnapshotIdxs(snapshot);