comparison src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/operations/NodeOperation.java @ 78:540a27dde42f

Delete EnableNode and EnableNodeWrapper but not repair test program
author one
date Sun, 31 Aug 2014 00:44:35 +0900
parents 4ff16d970ffc
children 715a9fbf02fc
comparison
equal deleted inserted replaced
77:0f01ee222035 78:540a27dde42f
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations; 1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations;
2 2
3 import java.nio.ByteBuffer; 3 import java.nio.ByteBuffer;
4 4
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command; 5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command;
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.EditableNode; 6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode;
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; 7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; 8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
9 9
10 public interface NodeOperation 10 public interface NodeOperation
11 { 11 {
12 public Command getCommand(); 12 public Command getCommand();
13 public <T extends EditableNode<T>> Either<Error,T> invoke(T _target); 13 public <T extends TreeNode<T>> Either<Error,T> invoke(T _target);
14 14
15 public int getPosition(); 15 public int getPosition();
16 public String getKey(); 16 public String getKey();
17 public ByteBuffer getValue(); 17 public ByteBuffer getValue();
18 } 18 }