com.hp.hpl.jena.sparql.algebra.op
Class OpN
java.lang.Object
com.hp.hpl.jena.sparql.util.PrintSerializableBase
com.hp.hpl.jena.sparql.algebra.op.OpBase
com.hp.hpl.jena.sparql.algebra.op.OpN
- All Implemented Interfaces:
- Op, Named, PrintSerializable, Printable
- Direct Known Subclasses:
- OpDisjunction, OpSequence
public abstract class OpN
- extends OpBase
| Methods inherited from interface com.hp.hpl.jena.sparql.algebra.Op |
visit |
| Methods inherited from interface com.hp.hpl.jena.sparql.util.Named |
getName |
add
public void add(Op op)
- Accumulate an op in the OpN.
This exists to help building OpN in teh first place.
Once built, an OpN, like any Op should be treated as immutable
with no calls change the sub ops contents.
No calls to .add.
get
public Op get(int idx)
apply
public abstract Op apply(Transform transform,
List<Op> elts)
copy
public abstract OpN copy(List<Op> elts)
size
public int size()
hashCode
public int hashCode()
- Specified by:
hashCode in class OpBase
getElements
public List<Op> getElements()
iterator
public Iterator<Op> iterator()
Licenced under the Apache License, Version 2.0