Mercurial > hg > Members > tatsuki > Alice
view src/alice/datasegment/ReceiverData.java @ 216:21bd8af1cf26 working
change asClass method
author | one |
---|---|
date | Wed, 27 Mar 2013 19:38:33 +0900 |
parents | 1fd7067f0044 |
children | b5c642ba998e |
line wrap: on
line source
package alice.datasegment; import org.msgpack.type.ArrayValue; import org.msgpack.type.Value; public interface ReceiverData { public String asString(Receiver receiver); public int asInteger(Receiver receiver); public Float asFloat(Receiver receiver) ; public ArrayValue asArray(Receiver receiver); public <T> T asClass(Class<T> clazz); public Value getVal(); public Object getObj(); }