annotate src/alice/datasegment/ReceiverData.java @ 213:3f20b6401823 working

remove error form bitonic
author one
date Wed, 27 Mar 2013 17:56:08 +0900
parents b5daccf36104
children fec0726bb126
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
212
b5daccf36104 add Receiver state pattern
one
parents:
diff changeset
1 package alice.datasegment;
b5daccf36104 add Receiver state pattern
one
parents:
diff changeset
2
213
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
3 import org.msgpack.type.ArrayValue;
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
4
212
b5daccf36104 add Receiver state pattern
one
parents:
diff changeset
5 public interface ReceiverData {
b5daccf36104 add Receiver state pattern
one
parents:
diff changeset
6
213
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
7 public String asString(Receiver receiver);
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
8 public int asInteger(Receiver receiver);
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
9 public Float asFloat(Receiver receiver) ;
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
10 public ArrayValue asArray(Receiver receiver);
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
11 public <T> T asClass(Receiver receiver, Class<T> clazz);
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
12 public Object getVal();
3f20b6401823 remove error form bitonic
one
parents: 212
diff changeset
13
212
b5daccf36104 add Receiver state pattern
one
parents:
diff changeset
14 }