annotate src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/NodePath.java @ 138:b998fdc99bc0
add NodePathCompare and Test
author |
one |
date |
Mon, 27 Oct 2014 19:04:59 +0900 |
parents |
6e9a8d26e0cf |
children |
809f813d1083 |
rev |
line source |
10
|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store;
|
|
2
|
16
|
3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Pair;
|
11
|
4
|
16
|
5 public interface NodePath extends Iterable<Integer>
|
10
|
6 {
|
107
|
7 public NodePath add(int pos);
|
16
|
8 public Pair<Integer,NodePath> pop();
|
98
|
9 public NodePath tail();
|
43
|
10 public int size();
|
135
|
11 public Pair<Integer,NodePath> last();
|
138
|
12 public boolean compare(NodePath path);
|
10
|
13 }
|