Java 8 DataInput - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 DataInput class.

This code example shows how to use the following methods:readInt, readLong, readUTF
This code example shows how to use the following methods:readInt, readLong, readUTF
10
CodeRank
This code example shows how to use the following methods:readInt, readLong, readUTF
10
CodeRank
This code example shows how to use the following methods:readBoolean, readLong, readUTF
This code example shows how to use the following methods:readInt, readLong, readUTF
This code example shows how to use the following methods:readBoolean, readLong, readUTF
This code example shows how to use the following methods:readInt, readLong, readUTF
10
CodeRank
This code example shows how to use the following methods:readLong, readUTF
This code example shows how to use the following methods:readLong, readUTF
		return counterImpl;
	} 
 
	@Override 
	public void readExternal(ObjectInput objectInput) throws IOException {
		name = objectInput.readUTF();
		currentId = objectInput.readLong();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput objectOutput)
		throws IOException {
		if (name == null) {
			objectOutput.writeUTF(StringPool.BLANK);
		} 
		else { 
			objectOutput.writeUTF(name);
		} 
 
		objectOutput.writeLong(currentId);
10
CodeRank
This code example shows how to use the following methods:readLong, readUTF
		return ddmStorageLinkImpl;
	} 
 
	@Override 
	public void readExternal(ObjectInput objectInput) throws IOException {
		uuid = objectInput.readUTF();
		storageLinkId = objectInput.readLong();
		classNameId = objectInput.readLong();
		classPK = objectInput.readLong();
		structureId = objectInput.readLong();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput objectOutput)
		throws IOException {
		if (uuid == null) {
			objectOutput.writeUTF(StringPool.BLANK);
		} 
		else { 
			objectOutput.writeUTF(uuid);
10
CodeRank
See Code Examples for Java 8 DataInput Methods: