Package org.faktorips.util
Class SortedMultiMap.SortedSetFactory<V>
java.lang.Object
org.faktorips.util.SortedMultiMap.SortedSetFactory<V>
- All Implemented Interfaces:
Serializable,MultiMap.CollectionFactory<V>
- Enclosing class:
SortedMultiMap<K,V>
public static class SortedMultiMap.SortedSetFactory<V>
extends Object
implements MultiMap.CollectionFactory<V>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a sorted set with anullComparator, therefore using the natural order of its values.SortedSetFactory(Comparator<? super V> valueComparator) Creates a sorted set with the given comparator. -
Method Summary
-
Constructor Details
-
SortedSetFactory
public SortedSetFactory()Creates a sorted set with anullComparator, therefore using the natural order of its values. -
SortedSetFactory
Creates a sorted set with the given comparator.- Parameters:
valueComparator- a comparator
-
-
Method Details
-
createCollection
Description copied from interface:MultiMap.CollectionFactoryCreates collections that are used as values in aMultiMap- Specified by:
createCollectionin interfaceMultiMap.CollectionFactory<V>
-