Class PredicateCollectionAdapter
java.lang.Object
com.semedy.reasoner.parser.oologic.PredicateCollectionAdapter
- All Implemented Interfaces:
Iterable<Literal>,Collection<Literal>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Literal> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
PredicateCollectionAdapter
public PredicateCollectionAdapter()
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<Literal>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Literal>
-
contains
- Specified by:
containsin interfaceCollection<Literal>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<Literal>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<Literal>
-
add
- Specified by:
addin interfaceCollection<Literal>
-
remove
- Specified by:
removein interfaceCollection<Literal>
-
containsAll
- Specified by:
containsAllin interfaceCollection<Literal>
-
addAll
- Specified by:
addAllin interfaceCollection<Literal>
-
removeAll
- Specified by:
removeAllin interfaceCollection<Literal>
-
retainAll
- Specified by:
retainAllin interfaceCollection<Literal>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Literal>
-
getPredicates
-