view src/alice/datasegment/KeyCommand.java @ 195:b4ca7f75e6b2 working

add put , Update API (no convert to value)
author e095732
date Tue, 12 Mar 2013 00:49:19 +0900
parents 1d4f2b72fb31
children
line wrap: on
line source

package alice.datasegment;

public class KeyCommand {
	
	DataSegmentKey key;
	Command cmd;
	
	public KeyCommand(DataSegmentKey key, Command cmd) {
		this.key = key;
		this.cmd = cmd;
	}
	
	public void runCommand() {
		key.runCommand(cmd);
	}
	
}