public class AnyAtomCondition extends Object implements HGQueryCondition, HGAtomPredicate
This condition is satisfied by any and all atoms in the HyperGraph database.
That is, it is satisfied given HGHandle
if and only if it is
an atom in the graph.
When translated to a query alone, it will result in an enumeration of all atoms in the database.
Constructor and Description |
---|
AnyAtomCondition() |
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.