當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。