Mercurial > hg > Database > Alice
annotate 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 |
rev | line source |
---|---|
3 | 1 package alice.datasegment; |
2 | |
3 import org.msgpack.type.Value; | |
4 | |
5 public class DataSegmentValue { | |
6 | |
7 public int index; | |
8 public Value val; | |
28
98ab26e09a98
Configuration Manager work and implements reverseKey
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
3
diff
changeset
|
9 public String from; |
190 | 10 public Object obj; |
3 | 11 |
190 | 12 public DataSegmentValue(int index, Value val, Object obj,String reverseKey) { |
13 this.index = index; | |
14 this.val = val; | |
15 this.from = reverseKey; | |
16 this.obj = obj; | |
17 } | |
18 | |
19 public DataSegmentValue(int index, Value val,String reverseKey) { | |
3 | 20 this.index = index; |
21 this.val = val; | |
28
98ab26e09a98
Configuration Manager work and implements reverseKey
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
3
diff
changeset
|
22 this.from = reverseKey; |
3 | 23 } |
190 | 24 |
195 | 25 public void setDataSegmentValue(int index, Value val, Object obj, String reverseKey){ |
189 | 26 this.index = index; |
27 this.val = val; | |
190 | 28 this.obj = obj; |
189 | 29 this.from = reverseKey; |
30 } | |
31 | |
3 | 32 } |