public class ListOfReductionConfigs extends NamedList<ReductionConfig> implements GraphListener<RegulatoryGraph>, UserSupporter
modCount
Constructor and Description |
---|
ListOfReductionConfigs(RegulatoryGraph graph) |
Modifier and Type | Method and Description |
---|---|
int |
create() |
protected ReductionConfig |
doCreate(String name,
int pos) |
Collection<String> |
getFixedPropagationUsers() |
List<RegulatoryNode> |
getNodeOrder() |
Collection<String> |
getOutputStrippingUsers() |
ReductionConfig |
getUsedReduction(String key) |
GraphEventCascade |
graphChanged(RegulatoryGraph g,
GraphChangeType type,
Object data) |
boolean |
isPropagatingFixed(String key) |
boolean |
isStrippingOutput(String key) |
void |
setPropagateFixed(String key,
boolean use) |
void |
setStrippingOutput(String key,
boolean use) |
void |
update(String oldID,
String newID)
A user was updated, make sure to clean related data.
|
void |
useReduction(String key,
ReductionConfig reduction) |
findUniqueName, getByName, isNameValid, rename
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public ListOfReductionConfigs(RegulatoryGraph graph)
protected ReductionConfig doCreate(String name, int pos)
public GraphEventCascade graphChanged(RegulatoryGraph g, GraphChangeType type, Object data)
graphChanged
in interface GraphListener<RegulatoryGraph>
public void setStrippingOutput(String key, boolean use)
public void setPropagateFixed(String key, boolean use)
public boolean isStrippingOutput(String key)
public boolean isPropagatingFixed(String key)
public void useReduction(String key, ReductionConfig reduction)
public ReductionConfig getUsedReduction(String key)
public Collection<String> getOutputStrippingUsers()
public Collection<String> getFixedPropagationUsers()
public void update(String oldID, String newID)
UserSupporter
update
in interface UserSupporter
oldID
- ID under which this user was previously knownnewID
- new ID, or null if it was removedpublic List<RegulatoryNode> getNodeOrder()
public int create()
Copyright © 2005–2020. All rights reserved.