Class LabeledIntTreeSimpleMap
java.lang.Object
it.univr.di.labeledvalue.AbstractLabeledIntMap
it.univr.di.labeledvalue.LabeledIntTreeMap
it.univr.di.labeledvalue.LabeledIntTreeSimpleMap
- All Implemented Interfaces:
LabeledIntMap
,Serializable
Extends LabeledIntTreeMap setting optimize field to false.
In this way, labeled values where labels not shorten.
This class is useful for OSTNUPluggableEdge class.
In this way, labeled values where labels not shorten.
This class is useful for OSTNUPluggableEdge class.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.univr.di.labeledvalue.LabeledIntTreeMap
LabeledIntTreeMap.LabeledIntTreeMapView
Nested classes/interfaces inherited from interface it.univr.di.labeledvalue.LabeledIntMap
LabeledIntMap.LabeledIntMapView
-
Field Summary
Fields inherited from class it.univr.di.labeledvalue.LabeledIntTreeMap
base, mainInt2SetMap
Fields inherited from class it.univr.di.labeledvalue.AbstractLabeledIntMap
count, labeledValueRE, labeledValueSetREPattern, optimize, splitterEntryPattern, splitterPair, valueRE, valueREPattern
Fields inherited from interface it.univr.di.labeledvalue.LabeledIntMap
entryComparator
-
Constructor Summary
ConstructorDescriptionNecessary constructor for the factory.LabeledIntTreeSimpleMap
(boolean ignoredOptimize) Necessary constructor for the factory.LabeledIntTreeSimpleMap
(LabeledIntMap lvm, boolean ignoredOptimize) Constructor to clone the structure. -
Method Summary
Modifier and TypeMethodDescriptionFactorynewInstance
(boolean optimize) FactorynewInstance
(LabeledIntMap lim) FactorynewInstance
(LabeledIntMap lim, boolean optimize) FactoryMethods inherited from class it.univr.di.labeledvalue.LabeledIntTreeMap
alreadyRepresents, clear, entrySet, get, getMaxValue, getMinValue, getMinValueSubsumedBy, keySet, put, putForcibly, remove, unmodifiable, values
Methods inherited from class it.univr.di.labeledvalue.AbstractLabeledIntMap
entryAsString, entryAsString, equals, hashCode, isEmpty, parse, parse, size, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.univr.di.labeledvalue.LabeledIntMap
getMaxValueSubsumedBy, getMinLabeledValue, getMinValueAmongLabelsWOUnknown, getMinValueConsistentWith, putAll
-
Constructor Details
-
LabeledIntTreeSimpleMap
LabeledIntTreeSimpleMap(LabeledIntMap lvm, boolean ignoredOptimize) Constructor to clone the structure. For optimization issue, this method clone only LabeledIntTreeMap object.- Parameters:
lvm
- the LabeledValueTreeMap to clone. If lvm is null, this will be an empty map.ignoredOptimize
- ignored.- See Also:
-
LabeledIntTreeSimpleMap
LabeledIntTreeSimpleMap(boolean ignoredOptimize) Necessary constructor for the factory. The internal structure is built and empty.- Parameters:
ignoredOptimize
- ignored- See Also:
-
LabeledIntTreeSimpleMap
LabeledIntTreeSimpleMap()Necessary constructor for the factory. The internal structure is built and empty.
-
-
Method Details
-
newInstance
Description copied from interface:LabeledIntMap
Factory- Specified by:
newInstance
in interfaceLabeledIntMap
- Overrides:
newInstance
in classLabeledIntTreeMap
- Returns:
- an object of type LabeledIntMap.
-
newInstance
Description copied from interface:LabeledIntMap
Factory- Specified by:
newInstance
in interfaceLabeledIntMap
- Overrides:
newInstance
in classLabeledIntTreeMap
- Parameters:
optimize
- ignored- Returns:
- a new instance
-
newInstance
Description copied from interface:LabeledIntMap
Factory- Specified by:
newInstance
in interfaceLabeledIntMap
- Overrides:
newInstance
in classLabeledIntTreeMap
- Parameters:
lim
- a map to clone.- Returns:
- an object of type LabeledIntMap.
-
newInstance
Description copied from interface:LabeledIntMap
Factory- Specified by:
newInstance
in interfaceLabeledIntMap
- Overrides:
newInstance
in classLabeledIntTreeMap
- Parameters:
lim
- an object to clone.optimize
- ignored- Returns:
- a new instance
-