Mercurial > hg > Members > tatsuki > bench > jungle-core
view src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/operations/DeleteChildAtOperation.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 class DeleteChildAtOperation implements NodeOperation { private final int pos; public DeleteChildAtOperation(int _pos) { pos = _pos; } @Override public Command getCommand() { return Command.DELETE_CHILD; } /*@Override public <T extends TreeNode> Either<Error,T> invoke(T _target) { DeleteChildAt deleteChildAt = new DeleteChildAt(pos); return deleteChildAt.edit(_target); }*/ @Override public int getPosition() { return pos; } @Override public String getKey() { return null; } @Override public ByteBuffer getValue() { return null; } }