16
|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations;
|
|
2
|
55
|
3 import java.nio.ByteBuffer;
|
|
4
|
16
|
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command;
|
78
|
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode;
|
50
|
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
|
|
8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
|
16
|
9
|
50
|
10 public interface NodeOperation
|
16
|
11 {
|
|
12 public Command getCommand();
|
78
|
13 public <T extends TreeNode<T>> Either<Error,T> invoke(T _target);
|
55
|
14
|
|
15 public int getPosition();
|
|
16 public String getKey();
|
|
17 public ByteBuffer getValue();
|
16
|
18 }
|
|
19
|
|
20
|