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 AssignmentsAssignments which contains the values specified by valuespublic Object get(int index)
Assignments.index - index of the element to returnAssignmentsIndexOutOfBoundsException - if the index is out of rangeOakGP Genetic Programming Framework