Class SimpleObjectOutput.Builder
java.lang.Object
org.wildfly.clustering.marshalling.protostream.SimpleDataOutput.Builder
org.wildfly.clustering.marshalling.protostream.SimpleObjectOutput.Builder
- Enclosing class:
SimpleObjectOutput
Builder of a simple object output.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a simple data output.with(boolean[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeBoolean(boolean).with(byte[] values) Specifies the values to be consumed by consecutive calls toDataOutput.write(byte[]).with(char[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeChar(int).with(double[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeDouble(double).with(float[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeFloat(float).with(int[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeInt(int).with(long[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeLong(long).with(short[] values) Specifies the values to be consumed by consecutive calls toDataOutput.writeShort(int).Specifies the values to be consumed by consecutive calls toObjectOutput.writeObject(Object).Specifies the values to be consumed by consecutive calls toDataOutput.writeUTF(String).Methods inherited from class SimpleDataOutput.Builder
with
-
Constructor Details
-
Builder
public Builder()Creates a builder of an object output
-
-
Method Details
-
with
Specifies the values to be consumed by consecutive calls toObjectOutput.writeObject(Object).- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeUTF(String).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeChar(int).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeBoolean(boolean).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.write(byte[]).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeShort(int).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeInt(int).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeLong(long).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeFloat(float).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
with
Description copied from class:SimpleDataOutput.BuilderSpecifies the values to be consumed by consecutive calls toDataOutput.writeDouble(double).- Overrides:
within classSimpleDataOutput.Builder- Parameters:
values- the consecutive values to be written- Returns:
- a reference to this builder
-
build
Description copied from class:SimpleDataOutput.BuilderBuilds a simple data output.- Overrides:
buildin classSimpleDataOutput.Builder- Returns:
- a simple data output.
-