com.hp.hpl.jena.graph.query
Class ValuatorSet

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.ValuatorSet

public class ValuatorSet
extends Object

ValuatorSet - a set of Valuators, which can be added to and evaluated [only].

Author:
kers

Constructor Summary
ValuatorSet()
           
 
Method Summary
 ValuatorSet add(Valuator e)
          Answer this ValuatorSet after adding the Valuator e to it.
 boolean evalBool(IndexValues vv)
          Answer true iff no Valuator in this set evaluates to false.
 boolean isNonTrivial()
          Answer true iff evaluating this ValuatorSet runs some Valuators.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuatorSet

public ValuatorSet()
Method Detail

isNonTrivial

public boolean isNonTrivial()
Answer true iff evaluating this ValuatorSet runs some Valuators.


add

public ValuatorSet add(Valuator e)
Answer this ValuatorSet after adding the Valuator e to it.


evalBool

public boolean evalBool(IndexValues vv)
Answer true iff no Valuator in this set evaluates to false. The Valuators are evaluated in an unspecified order, and evaluation ceases as soon as any Valuator has returned false.



Licenced under the Apache License, Version 2.0