RefByte
Contents
[
Hide
]Inheritance: java.lang.Object
public class RefByte
Represents Out/Ref constructions for Byte primitive type
Constructors
Constructor | Description |
---|---|
RefByte(byte value) | Mimics Out/Ref parameter initialisation with given Value. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | byte |
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:
Parameter | Type | Description |
---|---|---|
anotherValue | byte |
Returns: byte
toString()
public String toString()
Returns: java.lang.String