RefShort
Contents
[
Hide
]Inheritance: java.lang.Object
public class RefShort
Represents Out/Ref constructions for Short primitive type
Constructors
Constructor | Description |
---|---|
RefShort(short 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(short anotherValue) | Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions |
toString() |
RefShort(short value)
public RefShort(short 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 | short |
get()
public short get()
Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions
Returns: short
set(short anotherValue)
public short set(short anotherValue)
Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions
Parameters:
Parameter | Type | Description |
---|---|---|
anotherValue | short |
Returns: short
toString()
public String toString()
Returns: java.lang.String