public final class Assignments extends Object
Immutable.
Modifier and Type | Method and Description |
---|---|
static Assignments |
createAssignments(Object... values)
Returns a new
Assignments which contains the specified values. |
boolean |
equals(Object o) |
Object |
get(int index)
Returns the value at the specified position in this
Assignments . |
int |
hashCode() |
String |
toString() |
public static Assignments createAssignments(Object... values)
Assignments
which contains the specified values.
Note: Assignments
is immutable - so subsequent changes to values
will not be reflected in the returned Assignments
.
values
- the values to be stored in the Assignments
Assignments
which contains the values specified by values
public Object get(int index)
Assignments
.index
- index of the element to returnAssignments
IndexOutOfBoundsException
- if the index is out of rangeOakGP Genetic Programming Framework