Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/api/MonotonicTreeNode.java @ 11:85061e874775
commit
author | shoshi |
---|---|
date | Fri, 06 May 2011 00:42:57 +0900 |
parents | 17ed97ca9960 |
children | fbbb7e414346 |
line wrap: on
line source
package treecms.api; import java.nio.ByteBuffer; import java.util.List; import java.util.Map; public interface MonotonicTreeNode { public NodeID getID(); public ByteBuffer get(ByteBuffer _key); public Map<ByteBuffer,ByteBuffer> getAll(); public void put(ByteBuffer _key,ByteBuffer _value); public void putAll(Map<ByteBuffer,ByteBuffer> _map); public void add(TreeNode _n); public void addAll(List<TreeNode> _list); public MonotonicTreeNode getParent(); public TreeNode getNode(); }