comparison src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/operations/NodeOperation.java @ 81:715a9fbf02fc

remove <T> many source
author one
date Sun, 31 Aug 2014 07:46:30 +0900
parents 540a27dde42f
children 14ce7a0dedca
comparison
equal deleted inserted replaced
80:a833000f64bf 81:715a9fbf02fc
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.impl.TreeNode;
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
9 6
10 public interface NodeOperation 7 public interface NodeOperation
11 { 8 {
12 public Command getCommand(); 9 public Command getCommand();
13 public <T extends TreeNode<T>> Either<Error,T> invoke(T _target); 10 // public <T extends TreeNode> Either<Error,T> invoke(T _target);
14 11
15 public int getPosition(); 12 public int getPosition();
16 public String getKey(); 13 public String getKey();
17 public ByteBuffer getValue(); 14 public ByteBuffer getValue();
18 } 15 }