Mercurial > hg > Members > tatsuki > bench > jungle-core
view src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/operations/AppendChildAtOperation.java @ 81:715a9fbf02fc
remove <T> many source
author | one |
---|---|
date | Sun, 31 Aug 2014 07:46:30 +0900 |
parents | 540a27dde42f |
children | 14ce7a0dedca |
line wrap: on
line source
package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations; import java.nio.ByteBuffer; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command; public final class AppendChildAtOperation implements NodeOperation { private final int pos; public AppendChildAtOperation(int _pos) { pos = _pos; } public Command getCommand() { return Command.APPEND_CHILD; } /*@Override public <T extends TreeNode> Either<Error,T> invoke(T _target) { AppendChildAt appendChildAt = new AppendChildAt(pos); return appendChildAt.edit(_target); }*/ @Override public int getPosition() { return pos; } @Override public String getKey() { return null; } @Override public ByteBuffer getValue() { return null; } }