本文整理汇总了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");
}