wizx.lang
Class ListValue
java.lang.Object
wizx.lang.Value
wizx.lang.ListValue
- public class ListValue
- extends Value
A value that contains a list of other values.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ListValue
public ListValue(Value[] v)
combine
public static ListValue combine(ListValue list)
enumerate
public Value[] enumerate()
contains
public BooleanValue contains(Value v)
dereference
public Value dereference(java.lang.String propertyName)
- Returns a list that is the list of dereferenced property values from this list.
- Overrides:
dereference in class Value
addProperty
public Value addProperty(java.lang.String propertyName,
Value v)
- Returns a new list that is all the objects in this list with the new property.
- Overrides:
addProperty in class Value
- Parameters:
propertyName - the name to store the value.v - the value to associate with the property name.
convertToBoolean
public BooleanValue convertToBoolean()
- Overrides:
convertToBoolean in class Value
convertToNumber
public NumberValue convertToNumber()
- Overrides:
convertToNumber in class Value
convertToString
public StringValue convertToString()
- Overrides:
convertToString in class Value
convertToList
public ListValue convertToList()
- Overrides:
convertToList in class Value
sort
public ListValue sort()
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.