当前位置: 首页>>代码示例>>Java>>正文


Java BinaryReader.readInt方法代码示例

本文整理汇总了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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:19,代码来源:IgniteComputeConfigVariationsFullApiTest.java

示例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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:CacheOffheapBatchIndexingBaseTest.java

示例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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:BinaryMarshallerSelfTest.java

示例4: readBinary

import org.apache.ignite.binary.BinaryReader; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
    val = reader.readInt("val");
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:BinarySerializationQuerySelfTest.java

示例5: readBinary

import org.apache.ignite.binary.BinaryReader; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
    val = reader.readInt("id");
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:IntValue.java

示例6: readBinary

import org.apache.ignite.binary.BinaryReader; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
    id = reader.readInt("id");
}
 
开发者ID:apache,项目名称:ignite,代码行数:5,代码来源:SampleValue.java

示例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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:Organization.java

示例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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:Address.java

示例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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:IgniteConfigVariationsAbstractTest.java

示例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");
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:BinaryArrayIdentityResolverSelfTest.java


注:本文中的org.apache.ignite.binary.BinaryReader.readInt方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。