public class IndexedByHeadPredicatesRuleSet extends LinkedListRuleSet
Constructor and Description |
---|
IndexedByHeadPredicatesRuleSet() |
IndexedByHeadPredicatesRuleSet(Iterable<Rule> rules) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Rule rule) |
boolean |
addAll(Collection<? extends Rule> c) |
void |
clear() |
Iterable<Rule> |
getRulesByHeadPredicate(Predicate predicate) |
boolean |
remove(Object o) |
boolean |
remove(Rule rule) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
contains, contains, containsAll, isEmpty, iterator, size, toArray, toArray, toString
addAll, addAll, removeAll, removeAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public boolean add(Rule rule)
add
in interface RuleSet
add
in interface Collection<Rule>
add
in class LinkedListRuleSet
public boolean addAll(Collection<? extends Rule> c)
addAll
in interface Collection<Rule>
addAll
in class LinkedListRuleSet
public boolean remove(Rule rule)
remove
in interface RuleSet
remove
in class LinkedListRuleSet
public void clear()
clear
in interface Collection<Rule>
clear
in class LinkedListRuleSet
public boolean remove(Object o)
remove
in interface Collection<Rule>
remove
in class LinkedListRuleSet
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Rule>
removeAll
in class LinkedListRuleSet
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<Rule>
retainAll
in class LinkedListRuleSet
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.