Package org.webharvest.runtime.variables
Class ListVariable
- java.lang.Object
-
- org.webharvest.runtime.variables.Variable
-
- org.webharvest.runtime.variables.ListVariable
-
-
Constructor Summary
Constructors Constructor Description ListVariable()
ListVariable(Iterable list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVariable(Variable variable)
boolean
contains(Object item)
Checks if list contains specified object's string representationVariable
get(int index)
Collection<Variable>
getList()
Object
getWrappedObject()
boolean
isEmpty()
Iterator
iterator()
byte[]
toBinary()
byte[]
toBinary(String charset)
Iterator
toIterator()
List<Variable>
toList()
String
toString()
String
toString(String charset)
String
toString(String charset, String delimiter)
-
Methods inherited from class org.webharvest.runtime.variables.Variable
toArray, toBoolean, toDouble, toInt, toLong
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ListVariable
public ListVariable()
-
ListVariable
public ListVariable(Iterable list)
-
-
Method Detail
-
addVariable
public void addVariable(Variable variable)
-
getList
public Collection<Variable> getList()
-
contains
public boolean contains(Object item)
Checks if list contains specified object's string representation- Parameters:
item
-
-
getWrappedObject
public Object getWrappedObject()
- Specified by:
getWrappedObject
in classVariable
-
toIterator
public Iterator toIterator()
- Specified by:
toIterator
in classVariable
-
get
public Variable get(int index)
-
-