view src/alice/datasegment/DataSegmentValue.java @ 212:b5daccf36104 working

add Receiver state pattern
author one
date Wed, 27 Mar 2013 17:30:52 +0900
parents 7f47231ef509
children
line wrap: on
line source

package alice.datasegment;

import org.msgpack.type.Value;

public class DataSegmentValue {

	public int index;
	public Value val;
	public String from;
	public Object obj;
	
	public DataSegmentValue(int index, Value val, Object obj,String reverseKey) {
		this.index = index;
		this.val = val;
		this.from = reverseKey;
		this.obj = obj;
	}
	
	public DataSegmentValue(int index, Value val,String reverseKey) {
		this.index = index;
		this.val = val;
		this.from = reverseKey;
	}
	
}