Package com.walkfares.odsl.var.basic
Class VarList
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.basic.VarList
- All Implemented Interfaces:
ListProvider
,Var
- Direct Known Subclasses:
VarBatch
,VarVirtualList
public class VarList extends BaseVar implements Var, ListProvider
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Var
_clone()
void
add(int index, Var element)
void
add(Var element)
VarList
addAll(VarList ol)
VarList
addAll(Collection<Var> elements)
Var
applyChanges(Var update)
void
clear()
static VarList
from(double[] v)
Var
get(int ix)
Var
get(Var index)
String
getDescription()
List<Var>
getElements()
String
getId()
String
getName()
Var
getSize()
VarType
getType()
Var
matches(OpenDSLVarVisitor visitor, com.walkfares.odsl.grammar.OpenDSLParser.ArrayconditionContext condition)
void
remove(int index)
Var
set_Id(String id)
VarList
setDescription(String description)
VarList
setName(String name)
int
size()
List<VarList>
splitList(int size)
VarList
subList(int startIndex, int endIndex)
String
toString()
Object
tryConvert(Parameter p)
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks
-
Constructor Details
-
Method Details
-
from
-
getType
-
getId
-
set_Id
-
clear
public void clear()- Specified by:
clear
in interfaceListProvider
-
add
- Specified by:
add
in interfaceListProvider
-
add
- Specified by:
add
in interfaceListProvider
-
remove
public void remove(int index) -
addAll
-
addAll
-
get
- Specified by:
get
in interfaceListProvider
-
get
- Specified by:
get
in interfaceListProvider
-
getElements
- Specified by:
getElements
in interfaceListProvider
-
getName
-
setName
-
getDescription
-
setDescription
-
applyChanges
- Specified by:
applyChanges
in interfaceVar
- Overrides:
applyChanges
in classBaseVar
-
_clone
-
size
public int size()- Specified by:
size
in interfaceListProvider
-
getSize
-
matches
public Var matches(OpenDSLVarVisitor visitor, com.walkfares.odsl.grammar.OpenDSLParser.ArrayconditionContext condition) -
subList
-
splitList
-
toString
-
tryConvert
- Specified by:
tryConvert
in interfaceVar
- Overrides:
tryConvert
in classBaseVar
-