Java Code Examples for java.io.ObjectInput#readChar()
The following examples show how to use
java.io.ObjectInput#readChar() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExternObjTrees.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 2
Source File: IgniteComputeConfigVariationsFullApiTest.java From ignite with Apache License 2.0 | 6 votes |
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { arg = in.readObject(); isVal = in.readBoolean(); bVal = in.readByte(); cVal = in.readChar(); sVal = in.readShort(); intVal = in.readInt(); lVal = in.readLong(); fltVal = in.readFloat(); dblVal = in.readDouble(); strVal = (String)in.readObject(); arrVal = (Object[])in.readObject(); eVal = (TestJobEnum)in.readObject(); }
Example 3
Source File: IgniteComputeConfigVariationsFullApiTest.java From ignite with Apache License 2.0 | 6 votes |
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { setArguments(in.readObject()); isVal = in.readBoolean(); bVal = in.readByte(); cVal = in.readChar(); sVal = in.readShort(); intVal = in.readInt(); lVal = in.readLong(); fltVal = in.readFloat(); dblVal = in.readDouble(); strVal = (String)in.readObject(); arrVal = (Object[])in.readObject(); eVal = (TestJobEnum)in.readObject(); }
Example 4
Source File: ExternObjTrees.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 5
Source File: ExternObjTrees.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 6
Source File: DelimitedParser.java From mrgeo with Apache License 2.0 | 6 votes |
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { boolean hasAttributes = in.readBoolean(); if (hasAttributes) { attributeNames = new ArrayList<>(); int count = in.readInt(); for (int i = 0; i < count; i++) { attributeNames.add(in.readUTF()); } } xCol = in.readInt(); yCol = in.readInt(); geometryCol = in.readInt(); delimiter = in.readChar(); encapsulator = in.readChar(); skipFirstLine = in.readBoolean(); }
Example 7
Source File: ExternObjTrees.java From hottub with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 8
Source File: ExternObjTrees.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 9
Source File: ExternObjTrees.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 10
Source File: ExternObjTrees.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 11
Source File: ExternObjTrees.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 12
Source File: ExternObjTrees.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { z = in.readBoolean(); b = in.readByte(); c = in.readChar(); s = in.readShort(); i = in.readInt(); f = in.readFloat(); j = in.readLong(); d = in.readDouble(); str = (String) in.readObject(); parent = in.readObject(); left = in.readObject(); right = in.readObject(); }
Example 13
Source File: IgniteComputeConfigVariationsFullApiTest.java From ignite with Apache License 2.0 | 5 votes |
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { isVal = in.readBoolean(); bVal = in.readByte(); cVal = in.readChar(); sVal = in.readShort(); intVal = in.readInt(); lVal = in.readLong(); fltVal = in.readFloat(); dblVal = in.readDouble(); strVal = (String)in.readObject(); arrVal = (Object[])in.readObject(); eVal = (TestJobEnum)in.readObject(); }
Example 14
Source File: MasterRetrieveStringResult.java From reladomo with Apache License 2.0 | 5 votes |
private String readString(ObjectInput in) throws IOException { int length = in.readInt(); if (length == -1) return null; char[] toRead = new char[length]; for(int i=0;i<length;i++) { toRead[i] = in.readChar(); } return new String(toRead); }
Example 15
Source File: FixMessage.java From TransFIX with GNU Lesser General Public License v3.0 | 5 votes |
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { major = in.readInt(); minor = in.readInt(); servicepack = in.readInt(); type = in.readUTF(); this.fixMsgOutput = (StringBuilder) in.readObject(); delim = in.readChar(); }
Example 16
Source File: BaseNode.java From xmnlp with Apache License 2.0 | 5 votes |
protected void walkToLoad(ObjectInput byteArray) throws IOException, ClassNotFoundException { c = byteArray.readChar(); status = ARRAY_STATUS[byteArray.readInt()]; if (status == Status.WORD_END_3 || status == Status.WORD_MIDDLE_2) { value = (V) byteArray.readObject(); } int childSize = byteArray.readInt(); child = new BaseNode[childSize]; for (int i = 0; i < childSize; ++i) { child[i] = new Node<V>(); child[i].walkToLoad(byteArray); } }
Example 17
Source File: IgniteComputeConfigVariationsFullApiTest.java From ignite with Apache License 2.0 | 5 votes |
/** {@inheritDoc} */ @Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { isVal = in.readBoolean(); bVal = in.readByte(); cVal = in.readChar(); sVal = in.readShort(); intVal = in.readInt(); lVal = in.readLong(); fltVal = in.readFloat(); dblVal = in.readDouble(); strVal = (String)in.readObject(); arrVal = (Object[])in.readObject(); eVal = (TestJobEnum)in.readObject(); }
Example 18
Source File: CharAttribute.java From reladomo with Apache License 2.0 | 4 votes |
@Override public Nullable deserializeNonNullAggregateDataValue(ObjectInput in) throws IOException, ClassNotFoundException { return new MutableCharacter(in.readChar()); }
Example 19
Source File: CharUpdateWrapper.java From reladomo with Apache License 2.0 | 4 votes |
public void readParameter(ObjectInput in) throws IOException, ClassNotFoundException { this.newValue = in.readChar(); }
Example 20
Source File: VariableRestriction.java From kogito-runtimes with Apache License 2.0 | 4 votes |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal( in ); left = in.readChar(); right = in.readChar(); }