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