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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add(Interpretation e)
boolean
iterator()
orderedDecided(Interpretation interpretation, Argument[] order)
boolean
boolean
removeAll(Collection<?> c)
int
size()
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
iterator
in interfaceCollection<Interpretation>
- Specified by:
iterator
in interfaceIterable<Interpretation>
- Specified by:
iterator
in interfaceSet<Interpretation>
- Specified by:
iterator
in classAbstractCollection<Interpretation>
-
add
- Specified by:
add
in interfaceCollection<Interpretation>
- Specified by:
add
in interfaceSet<Interpretation>
- Overrides:
add
in classAbstractCollection<Interpretation>
-
size
public int size()- Specified by:
size
in interfaceCollection<Interpretation>
- Specified by:
size
in interfaceSet<Interpretation>
- Specified by:
size
in classAbstractCollection<Interpretation>
-
remove
- Specified by:
remove
in interfaceCollection<Interpretation>
- Specified by:
remove
in interfaceSet<Interpretation>
- Overrides:
remove
in classAbstractCollection<Interpretation>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<Interpretation>
- Specified by:
removeAll
in interfaceSet<Interpretation>
- Overrides:
removeAll
in classAbstractSet<Interpretation>
-
contains
- Specified by:
contains
in interfaceCollection<Interpretation>
- Specified by:
contains
in interfaceSet<Interpretation>
- Overrides:
contains
in classAbstractCollection<Interpretation>
-
orderedDecided
-