RefByte

Inheritance: java.lang.Object

public class RefByte

Represents Out/Ref constructions for Byte primitive type

Constructors

ConstructorDescription
RefByte(byte value)Mimics Out/Ref parameter initialisation with given Value.

Methods

MethodDescription
get()Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions
set(byte anotherValue)Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions
toString()

RefByte(byte value)

public RefByte(byte value)

Mimics Out/Ref parameter initialisation with given Value. Should be used before calling the method with Out/Ref constructions

Parameters:

ParameterTypeDescription
valuebyte

get()

public byte get()

Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions

Returns: byte

set(byte anotherValue)

public byte set(byte anotherValue)

Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions

Parameters:

ParameterTypeDescription
anotherValuebyte

Returns: byte

toString()

public String toString()

Returns: java.lang.String