talx x1.0.5

wizx.lang
Class ListValue

java.lang.Object
  extended bywizx.lang.Value
      extended bywizx.lang.ListValue

public class ListValue
extends Value

A value that contains a list of other values.


Constructor Summary
ListValue(Value[] v)
           
 
Method Summary
 Value addProperty(java.lang.String propertyName, Value v)
          Returns a new list that is all the objects in this list with the new property.
static ListValue combine(ListValue list)
           
 BooleanValue contains(Value v)
           
 BooleanValue convertToBoolean()
           
 ListValue convertToList()
           
 NumberValue convertToNumber()
           
 StringValue convertToString()
           
 Value dereference(java.lang.String propertyName)
          Returns a list that is the list of dereferenced property values from this list.
 Value[] enumerate()
           
 boolean equals(java.lang.Object o)
           
 ListValue sort()
           
 java.lang.String toString()
           
 
Methods inherited from class wizx.lang.Value
convertToRecord, parse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListValue

public ListValue(Value[] v)
Method Detail

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()

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.