Esempio n. 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;
 }
Esempio n. 2
0
 @Override
 public long save() {
   return root.save(
       this, new MutableNodeSaveContext(CompressedUnsignedLongByteIterable.getIterable(size)));
 }