Class MapPartiallyOrderedSet<ELEMENT>
- java.lang.Object
-
- org.processmining.poemsconformancecheckingforbpmn.models.utils.ordered_set.partial.MapPartiallyOrderedSet<ELEMENT>
-
- All Implemented Interfaces:
java.lang.Iterable<ELEMENT>,java.util.Collection<ELEMENT>,java.util.Set<ELEMENT>,AlphabetCollection<ELEMENT>,OrderedSet<ELEMENT>,PartiallyOrderedSet<ELEMENT>
public class MapPartiallyOrderedSet<ELEMENT> extends java.lang.Object implements PartiallyOrderedSet<ELEMENT>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.processmining.poemsconformancecheckingforbpmn.models.utils.ordered_set.partial.PartiallyOrderedSet
PartiallyOrderedSet.Entry<E>
-
-
Constructor Summary
Constructors Constructor Description MapPartiallyOrderedSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(ELEMENT element)booleanaddAll(java.util.Collection<? extends ELEMENT> collection)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> collection)java.util.Set<ELEMENT>getAlphabet()java.util.Set<ELEMENT>getAscendants(ELEMENT element)java.util.Set<ELEMENT>getEnabled(java.util.Collection<ELEMENT> executed)java.util.Set<PartiallyOrderedSet.Entry<ELEMENT>>getEntrySet()java.util.List<ELEMENT>getLoopSequence(ELEMENT element, ELEMENT predecessor)intgetNumberOfConnections()java.util.Set<ELEMENT>getPredecessors(ELEMENT element)booleanisEmpty()booleanisEnabled(ELEMENT element, java.util.Collection<ELEMENT> executed)java.util.Iterator<ELEMENT>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> collection)booleanretainAll(java.util.Collection<?> collection)voidsetPredecessor(ELEMENT element, ELEMENT predecessor)voidsetPredecessors(ELEMENT element, java.util.Collection<ELEMENT> predecessors)intsize()java.lang.Object[]toArray()<T> T[]toArray(T[] ts)org.processmining.plugins.graphviz.dot.DottoGraphViz()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.poemsconformancecheckingforbpmn.models.utils.ordered_set.partial.PartiallyOrderedSet
toString
-
-
-
-
Method Detail
-
setPredecessor
public void setPredecessor(ELEMENT element, ELEMENT predecessor) throws PartialOrderLoopNotAllowedException
- Specified by:
setPredecessorin interfacePartiallyOrderedSet<ELEMENT>- Throws:
PartialOrderLoopNotAllowedException
-
setPredecessors
public void setPredecessors(ELEMENT element, java.util.Collection<ELEMENT> predecessors) throws PartialOrderLoopNotAllowedException
- Specified by:
setPredecessorsin interfacePartiallyOrderedSet<ELEMENT>- Throws:
PartialOrderLoopNotAllowedException
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] ts)
-
add
public boolean add(ELEMENT element)
-
remove
public boolean remove(java.lang.Object o)
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
-
addAll
public boolean addAll(java.util.Collection<? extends ELEMENT> collection)
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
-
clear
public void clear()
-
getAlphabet
public java.util.Set<ELEMENT> getAlphabet()
- Specified by:
getAlphabetin interfaceAlphabetCollection<ELEMENT>- Specified by:
getAlphabetin interfacePartiallyOrderedSet<ELEMENT>
-
getAscendants
public java.util.Set<ELEMENT> getAscendants(ELEMENT element)
- Specified by:
getAscendantsin interfaceOrderedSet<ELEMENT>- Specified by:
getAscendantsin interfacePartiallyOrderedSet<ELEMENT>
-
getPredecessors
public java.util.Set<ELEMENT> getPredecessors(ELEMENT element)
- Specified by:
getPredecessorsin interfaceOrderedSet<ELEMENT>- Specified by:
getPredecessorsin interfacePartiallyOrderedSet<ELEMENT>
-
getEnabled
public java.util.Set<ELEMENT> getEnabled(java.util.Collection<ELEMENT> executed)
- Specified by:
getEnabledin interfaceOrderedSet<ELEMENT>- Specified by:
getEnabledin interfacePartiallyOrderedSet<ELEMENT>
-
isEnabled
public boolean isEnabled(ELEMENT element, java.util.Collection<ELEMENT> executed)
- Specified by:
isEnabledin interfaceOrderedSet<ELEMENT>
-
getEntrySet
public java.util.Set<PartiallyOrderedSet.Entry<ELEMENT>> getEntrySet()
- Specified by:
getEntrySetin interfacePartiallyOrderedSet<ELEMENT>
-
getLoopSequence
public java.util.List<ELEMENT> getLoopSequence(ELEMENT element, ELEMENT predecessor)
- Specified by:
getLoopSequencein interfacePartiallyOrderedSet<ELEMENT>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection<ELEMENT>- Specified by:
sizein interfaceOrderedSet<ELEMENT>- Specified by:
sizein interfacejava.util.Set<ELEMENT>
-
getNumberOfConnections
public int getNumberOfConnections()
- Specified by:
getNumberOfConnectionsin interfaceOrderedSet<ELEMENT>
-
iterator
public java.util.Iterator<ELEMENT> iterator()
-
toGraphViz
public org.processmining.plugins.graphviz.dot.Dot toGraphViz()
- Specified by:
toGraphVizin interfaceAlphabetCollection<ELEMENT>
-
-