gnu.mapping
public class Values extends TreeList implements Printable, Externalizable
| Field Summary | |
|---|---|
| static Values | empty |
| static Object[] | noArgs |
| Constructor Summary | |
|---|---|
| Values() | |
| Values(Object[] values) Constructor. | |
| Method Summary | |
|---|---|
| Object | call_with(Procedure proc) Apply a Procedure with these values as the arguments. |
| Object | canonicalize() If a simple value, return that value.
|
| static int | countValues(Object value) |
| Object[] | getValues() Get the values encapsulated. |
| static Values | make() |
| static Object | make(Object[] vals) |
| static Object | make(Sequence seq) |
| static Object | make(TreeList list) |
| static Object | make(TreeList list, int startPosition, int endPosition) |
| static int | nextIndex(Object values, int curIndex) Helper method called by code using a SeriesTarget.
|
| static Object | nextValue(Object values, int curIndex) Helper method called by code using a SeriesTarget.
|
| void | print(Consumer out) |
| void | readExternal(ObjectInput in) |
| Object | readResolve() |
| static Object | values$V(Object[] vals) |
| void | writeExternal(ObjectOutput out) |
| static void | writeValues(Object value, Consumer out) |
Parameters: values the values to encapulate
Serial Data: Write the length (using writeInt), followed by the values in order (written using writeObject).