Class BagOf.BagOfPredicate
java.lang.Object
org.projog.core.predicate.builtin.compound.AbstractCollectionOf
org.projog.core.predicate.builtin.compound.BagOf.BagOfPredicate
- All Implemented Interfaces:
Predicate
- Enclosing class:
BagOf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBagOfPredicate(PredicateFactory pf, Term template, Term goal, Term bag) -
Method Summary
Methods inherited from class AbstractCollectionOf
couldReevaluationSucceed, evaluate
-
Constructor Details
-
BagOfPredicate
-
-
Method Details
-
add
"bagof" returns all elements (including duplicates) in the order they were found.- Specified by:
addin classAbstractCollectionOf
-