public class DelayedSetLoadPredicate extends Object implements HGAtomPredicate
A predicate that check whether a handle is the member of a set
of handles. The set of handles itself is lazily evaluated by running
a HGQuery
the first time the satisfies
is called.
Constructor and Description |
---|
DelayedSetLoadPredicate(HGQuery<HGHandle> query) |
Modifier and Type | Method and Description |
---|---|
boolean |
satisfies(HyperGraph hg,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
public boolean satisfies(HyperGraph hg, HGHandle handle)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
satisfies
in interface HGAtomPredicate
hg
- The HyperGraph
instance.handle
- The atom on which to test the query condition.true
if the passed in parameter satisfies
the condition and false
otherwise.Copyright © 2015. All rights reserved.