예제 #1
0
 @Override
 public ITreeCursor openCursor() {
   if (openCursors == null) {
     openCursors = new ArrayList<>(4);
   }
   final ITreeCursorMutable result =
       new TreeCursorMutable(this, new PatriciaTraverser(this, root), root.hasValue());
   openCursors.add(result);
   return result;
 }
예제 #2
0
 @Override
 public long save() {
   return root.save(
       this, new MutableNodeSaveContext(CompressedUnsignedLongByteIterable.getIterable(size)));
 }