comparison src/treecms/api/MonotonicTreeNode.java @ 11:85061e874775

commit
author shoshi
date Fri, 06 May 2011 00:42:57 +0900
parents 17ed97ca9960
children fbbb7e414346
comparison
equal deleted inserted replaced
10:4e0ed81bea89 11:85061e874775
1 package treecms.api; 1 package treecms.api;
2
3 import java.nio.ByteBuffer;
4 import java.util.List;
5 import java.util.Map;
2 6
3 public interface MonotonicTreeNode 7 public interface MonotonicTreeNode
4 { 8 {
9 public NodeID getID();
10
11 public ByteBuffer get(ByteBuffer _key);
12 public Map<ByteBuffer,ByteBuffer> getAll();
13 public void put(ByteBuffer _key,ByteBuffer _value);
14 public void putAll(Map<ByteBuffer,ByteBuffer> _map);
15 public void add(TreeNode _n);
16 public void addAll(List<TreeNode> _list);
17
5 public MonotonicTreeNode getParent(); 18 public MonotonicTreeNode getParent();
6 public SingleNode getNode(); 19 public TreeNode getNode();
7 } 20 }