本文整理匯總了Java中org.apache.ignite.binary.BinaryReader.readInt方法的典型用法代碼示例。如果您正苦於以下問題:Java BinaryReader.readInt方法的具體用法?Java BinaryReader.readInt怎麽用?Java BinaryReader.readInt使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.apache.ignite.binary.BinaryReader
的用法示例。
在下文中一共展示了BinaryReader.readInt方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
Object arg = reader.readObject("arg");
setArguments(arg);
isVal = reader.readBoolean("isVal");
bVal = reader.readByte("bVal");
cVal = reader.readChar("cVal");
sVal = reader.readShort("sVal");
intVal = reader.readInt("intVal");
lVal = reader.readLong("lVal");
fltVal = reader.readFloat("fltVal");
dblVal = reader.readDouble("dblVal");
strVal = reader.readString("strVal");
arrVal = reader.readObjectArray("arrVal");
eVal = reader.readEnum("eVal");
}
示例2: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
id = reader.readInt("id");
orgId = reader.readInt("orgId");
firstName = reader.readString("firstName");
lastName = reader.readString("lastName");
salary = reader.readDouble("salary");
}
示例3: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(Object obj, BinaryReader reader) throws BinaryObjectException {
CustomSerializedObject2 o = (CustomSerializedObject2)obj;
o.val = reader.readInt("val");
}
示例4: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
val = reader.readInt("val");
}
示例5: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
val = reader.readInt("id");
}
示例6: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
id = reader.readInt("id");
}
示例7: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
id = reader.readInt("id");
name = reader.readString("name");
}
示例8: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
street = reader.readString("street");
zip = reader.readInt("zip");
}
示例9: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
val = reader.readInt("val");
strVal = reader.readString("strVal");
enumVal = reader.readEnum("enumVal");
}
示例10: readBinary
import org.apache.ignite.binary.BinaryReader; //導入方法依賴的package包/類
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
a = reader.readInt("a");
b = reader.readString("b");
c = reader.readLong("c");
}