QJCC homepage

biz.chitec.quarterback.util.logic
Interface LogicExpr.UniverseGenerator

Enclosing interface:
LogicExpr

public static interface LogicExpr.UniverseGenerator

Special interface for universe generation. If logic expressions are used for selection of fulfilling elements in a universe, certain operations might need the complete universe as a set. Instances of this interface can deliver it, e.g. by doing certain database queries. An implementation should keep in mind that it might be time- and/or space-consuming. Therefore, it should implement some kind of caching algorithm. Logic expressions must not change the result returned by generateUniverse().


Method Summary
 int[] generateUniverse()
          Deliver the complete universe we are operating on.
 

Method Detail

generateUniverse

public int[] generateUniverse()
Deliver the complete universe we are operating on.

Returns:
Universe as list of numbers.

QJCC homepage