view src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/store/nodepath/NodePath.java @ 308:201cc75a9984

change Red Black Tree Edit Path Extends
author tatsuki
date Thu, 26 Jan 2017 15:23:25 +0900
parents 67c330ef2472
children 474728dcfdb8
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();
}