$darkmode
DENOPTIM
|
Attachment point mapping where keys are sorted by natural ordering, i.e., by AttachmentPoint#compareTo(AttachmentPoint)
.
More...
Classes | |
class | APMapSerializer |
Method that serializes this class without creating loops of references. More... | |
Public Member Functions | |
AttachmentPoint | put (AttachmentPoint key, AttachmentPoint value) |
AttachmentPoint | remove (Object key) |
AttachmentPoint | get (Object key) |
Static Private Attributes | |
static final long | serialVersionUID = 3L |
Version identifier. More... | |
Attachment point mapping where keys are sorted by natural ordering, i.e., by AttachmentPoint#compareTo(AttachmentPoint)
.
Since there can be attachment points that have the same identifier, but are indeed diverse instances, this class overwrites the TreeMap#put(Object, Object)
method to ensure that keys a
and b
that return false
at a == b
are updated to acquire unique identifiers.
Definition at line 42 of file APTreeMap.java.
AttachmentPoint denoptim.graph.APTreeMap.get | ( | Object | key | ) |
Definition at line 95 of file APTreeMap.java.
Referenced by denoptim.graph.Template.getOuterAPFromInnerAP(), denoptim.graph.Template.getSymmetricAPSets(), denoptim.graph.Template.removeProjectionOfInnerAP(), and denoptim.graph.Template.updateInnerApID().
AttachmentPoint denoptim.graph.APTreeMap.put | ( | AttachmentPoint | key, |
AttachmentPoint | value | ||
) |
Definition at line 79 of file APTreeMap.java.
Referenced by denoptim.graph.Template.addInnerToOuterAPMapping(), denoptim.graph.Template.updateInnerApID(), and denoptim.graph.Template.updateInnerToOuter().
AttachmentPoint denoptim.graph.APTreeMap.remove | ( | Object | key | ) |
Definition at line 87 of file APTreeMap.java.
Referenced by denoptim.graph.Template.removeProjectionOfInnerAP(), and denoptim.graph.Template.updateInnerApID().
|
staticprivate |
Version identifier.
Definition at line 47 of file APTreeMap.java.