Mercurial > hg > Database > Alice
view src/alice/datasegment/DataSegmentValue.java @ 195:b4ca7f75e6b2 working
add put , Update API (no convert to value)
author | e095732 |
---|---|
date | Tue, 12 Mar 2013 00:49:19 +0900 |
parents | a85ff8dc16c1 |
children | f151dea22b2c |
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; } public void setDataSegmentValue(int index, Value val, Object obj, String reverseKey){ this.index = index; this.val = val; this.obj = obj; this.from = reverseKey; } }