RefPoint

Inheritance: java.lang.Object

public class RefPoint

Represents Out/Ref constructions for Point struct

Constructors

ConstructorDescription
RefPoint(long 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(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:

ParameterTypeDescription
valuelong

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:

ParameterTypeDescription
anotherValuelong

Returns: long

toString()

public String toString()

Returns: java.lang.String