Package tech.oxfordsemantic.jrdfox.logic
Class Values
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.Formula
tech.oxfordsemantic.jrdfox.logic.Values
- All Implemented Interfaces:
java.io.Serializable
public class Values extends Formula
- See Also:
- Serialized Form
-
Field Summary
-
Method Summary
Modifier and Type Method Description <E> E
accept(LogicVisitor<E> visitor)
static Values
create(java.util.List<Variable> variables, java.util.List<java.util.List<Resource>> data)
static Values
create(Variable[] variables, Resource[][] data)
java.util.List<java.util.List<Resource>>
getData()
java.util.List<Resource>
getDataTuple(int tupleIndex)
Resource
getDataTupleElement(int tupleIndex, int elementIndex)
int
getNumberOfDataTupleElements(int tupleIndex)
int
getNumberOfDataTuples()
int
getNumberOfVariables()
Variable
getVariable(int index)
java.util.List<Variable>
getVariables()
void
toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)
-
Method Details
-
getVariables
-
getNumberOfVariables
public int getNumberOfVariables() -
getVariable
-
getData
-
getNumberOfDataTuples
public int getNumberOfDataTuples() -
getDataTuple
-
getNumberOfDataTupleElements
public int getNumberOfDataTupleElements(int tupleIndex) -
getDataTupleElement
-
accept
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat) -
create
-
create
-