diff src/alice/datasegment/DataSegmentValue.java @ 190:a85ff8dc16c1 working

add Object data
author one
date Thu, 07 Mar 2013 21:27:00 +0900
parents d2f5c885a367
children b4ca7f75e6b2
line wrap: on
line diff
--- a/src/alice/datasegment/DataSegmentValue.java	Thu Mar 07 12:31:05 2013 +0900
+++ b/src/alice/datasegment/DataSegmentValue.java	Thu Mar 07 21:27:00 2013 +0900
@@ -7,16 +7,25 @@
 	public int index;
 	public Value val;
 	public String from;
+	public Object obj;
 	
-	public DataSegmentValue(int index, Value val, String reverseKey) {
+	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, String reverseKey){
+
+	public void setDataSegmentValue(int index, Value val, Object obj,String reverseKey){
 		this.index = index;
 		this.val = val;
+		this.obj = obj;
 		this.from = reverseKey;
 	}