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
private static final class BagOf.BagOfPredicate extends AbstractCollectionOf
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBagOfPredicate(PredicateFactory pf, Term template, Term goal, Term bag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadd(java.util.List<Term> l, Term t)"bagof" returns all elements (including duplicates) in the order they were found.-
Methods inherited from class org.projog.core.predicate.builtin.compound.AbstractCollectionOf
couldReevaluationSucceed, evaluate
-
-
-
-
Constructor Detail
-
BagOfPredicate
private BagOfPredicate(PredicateFactory pf, Term template, Term goal, Term bag)
-
-
Method Detail
-
add
protected void add(java.util.List<Term> l, Term t)
"bagof" returns all elements (including duplicates) in the order they were found.- Specified by:
addin classAbstractCollectionOf
-
-