Package org.tweetyproject.arg.adf.util
Class InterpretationTrieSet
- All Implemented Interfaces:
Iterable<Interpretation>,Collection<Interpretation>,Set<Interpretation>
This is a monotone collection, hence you can only add elements to it, but not remove them.
- Author:
- Mathias Hofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(Interpretation e)booleaniterator()orderedDecided(Interpretation interpretation, Argument[] order)booleanbooleanremoveAll(Collection<?> c)intsize()Methods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, clear, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
InterpretationTrieSet
public InterpretationTrieSet() -
InterpretationTrieSet
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<Interpretation>- Specified by:
iteratorin interfaceIterable<Interpretation>- Specified by:
iteratorin interfaceSet<Interpretation>- Specified by:
iteratorin classAbstractCollection<Interpretation>
-
add
- Specified by:
addin interfaceCollection<Interpretation>- Specified by:
addin interfaceSet<Interpretation>- Overrides:
addin classAbstractCollection<Interpretation>
-
size
public int size()- Specified by:
sizein interfaceCollection<Interpretation>- Specified by:
sizein interfaceSet<Interpretation>- Specified by:
sizein classAbstractCollection<Interpretation>
-
remove
- Specified by:
removein interfaceCollection<Interpretation>- Specified by:
removein interfaceSet<Interpretation>- Overrides:
removein classAbstractCollection<Interpretation>
-
removeAll
- Specified by:
removeAllin interfaceCollection<Interpretation>- Specified by:
removeAllin interfaceSet<Interpretation>- Overrides:
removeAllin classAbstractSet<Interpretation>
-
contains
- Specified by:
containsin interfaceCollection<Interpretation>- Specified by:
containsin interfaceSet<Interpretation>- Overrides:
containsin classAbstractCollection<Interpretation>
-
orderedDecided
-