io.sarl.lang.core.util
Class OutParameter<T>
Type Parameters:
T - the type of the value.
All Superinterfaces:
java.lang.Cloneable
class OutParameter<T>
extends java.lang.Object
implements java.lang.Cloneable
An out parameter for a function.
Parameters:
<T> - the type of the value.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.5
Constructor Summary
Constructor and description
new
Construct an out parameter with null value.
new(T)
Construct an out parameter with the given value.
Action Summary
Modifier and type Action and description
void clear
Clear the value.
OutParameter<T> clone
boolean equals(Object)
T get
Replies the value.
int hashCode
void set(T)
Change the value.
java.lang.String toString
Constructor Details
new
new
Construct an out parameter with null value.
new(T)
new(T)
Construct an out parameter with the given value.
Parameters:
value - the initial value.
Action Details
clear
def clear
Clear the value.
clone
def clone : OutParameter<T>
equals(Object)
def equals(Object) : boolean
get
def get : T
Replies the value.
Returns:
the value.
hashCode
def hashCode : int
set(T)
def set(T)
Change the value.
Parameters:
value - the value.
toString
def toString : java.lang.String