java.lang.Object
org.apache.jena.sparql.core.BasicPattern
A class whose purpose is to give a name to a collection of triples. Reduces the use of
bland "List" in APIs (Java 1.4)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddAll(BasicPattern other) booleanbooleanequiv(BasicPattern other, NodeIsomorphismMap isoMap) get(int i) getList()inthashCode()booleanisEmpty()iterator()intsize()toString()static BasicPatternWrap a list of triples up as a BasicPattern.Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BasicPattern
public BasicPattern() -
BasicPattern
-
-
Method Details
-
wrap
Wrap a list of triples up as a BasicPattern. Changing the list, changes the BasicPattern -
add
-
addAll
-
add
-
get
-
iterator
-
size
public int size() -
isEmpty
public boolean isEmpty() -
getList
-
hashCode
public int hashCode() -
equals
-
equiv
-
toString
-