本文整理汇总了Java中com.tangosol.io.pof.PofReader.readInt方法的典型用法代码示例。如果您正苦于以下问题:Java PofReader.readInt方法的具体用法?Java PofReader.readInt怎么用?Java PofReader.readInt使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.tangosol.io.pof.PofReader
的用法示例。
在下文中一共展示了PofReader.readInt方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: deserialize
import com.tangosol.io.pof.PofReader; //导入方法依赖的package包/类
@Override
public Object deserialize(PofReader in) throws IOException {
XDMDocumentType type = new XDMDocumentType(in.readInt(0), in.readString(1));
type.setNormalized(in.readBoolean(2));
Set<XDMNamespace> schemas = new HashSet<XDMNamespace>();
in.readCollection(3, schemas);
for (XDMNamespace schema: schemas) {
type.addSchema(schema);
}
in.readRemainder();
return type;
}
示例2: deserialize
import com.tangosol.io.pof.PofReader; //导入方法依赖的package包/类
@Override
public Object deserialize(PofReader in) throws IOException {
XDMPath path = new XDMPath(in.readString(0),
in.readInt(1),
(XDMNodeKind) in.readObject(2),
in.readInt(3),
in.readInt(4),
in.readInt(5));
in.readRemainder();
return path;
}
示例3: deserialize
import com.tangosol.io.pof.PofReader; //导入方法依赖的package包/类
@Override
public Object deserialize(PofReader in) throws IOException {
XDMDocument doc = new XDMDocument(in.readLong(0),
in.readString(1),
in.readInt(2),
in.readInt(3),
(java.util.Date) in.readObject(4),
in.readString(5),
in.readString(6));
in.readRemainder();
return doc;
}
示例4: readExternal
import com.tangosol.io.pof.PofReader; //导入方法依赖的package包/类
@Override
public void readExternal(PofReader in) throws IOException {
documentKey = in.readLong(0);
pathId = in.readInt(1);
}
示例5: readExternal
import com.tangosol.io.pof.PofReader; //导入方法依赖的package包/类
@Override
public void readExternal(PofReader in) throws IOException {
docType = in.readInt(0);
template = in.readString(1);
in.readMap(2, params);
}
示例6: readExternal
import com.tangosol.io.pof.PofReader; //导入方法依赖的package包/类
public void readExternal(PofReader reader) throws IOException {
value = reader.readByteArray(VALUE);
cas = reader.readLong(CAS);
flags = reader.readInt(FLAGS);
}