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