public class VarList extends Object
| Constructor and Description |
|---|
VarList(String name,
org.openrdf.model.Value value,
VarList rest) |
| Modifier and Type | Method and Description |
|---|---|
org.openrdf.query.algebra.Var |
asVar() |
String |
getName() |
VarList |
getRest() |
org.openrdf.model.Value |
getValue() |
int |
length() |
String |
toString() |
static VarList |
union(VarList first,
VarList second)
Creates a new list containing the elements of two other lists.
|
public String getName()
public org.openrdf.model.Value getValue()
public VarList getRest()
public org.openrdf.query.algebra.Var asVar()
public static VarList union(VarList first, VarList second)
first - a list of elements to add. It will appear in the tail of the resulting listsecond - another list of elements to add. It will appear in the head of the resulting list, in reverse orderpublic int length()
Copyright © 2014. All Rights Reserved.