Mercurial > hg > Members > shoshi > jungle > jungle-core
view src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/store/nodepath/NodePath.java @ 310:474728dcfdb8
add PathType
author | tatsuki |
---|---|
date | Thu, 26 Jan 2017 23:44:14 +0900 |
parents | 201cc75a9984 |
children | 5b9a3bc593a7 |
line wrap: on
line source
package jp.ac.u_ryukyu.ie.cr.jungle.store.nodepath; import jp.ac.u_ryukyu.ie.cr.jungle.util.Pair; import java.nio.ByteBuffer; public interface NodePath extends Iterable<Integer> { public int get(int index); public NodePath add(int pos); public Pair<Integer,NodePath> pop(); public NodePath tail(); public int size(); public Pair<Integer,NodePath> last(); public NodePath addHead(int pos); public String getKey(); public ByteBuffer getValue(); public PathType getPathType(); public NodePath setType(PathType type); }