Interface ImmutableRuleSet
- All Known Implementing Classes:
AbstractRuleSet, AnalyserRuleSet, DefaultOntology, IndexedByBodyPredicatesRuleSet, IndexedByHeadPredicatesRuleSet, LinkedListRuleSet
-
Method Summary
Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
contains
Returns whether the specified rule is present in this set.- Parameters:
rule- the rule to search for- Returns:
- true if the rule is present
-
isEmpty
boolean isEmpty()Returns whether this set contains no rule.- Returns:
- true if this set is empty
-
iterator
-
size
int size()Returns the number of rules contained in this set.- Returns:
- the number of rules contained in this set.
-