Class ConverterCollections.ConverterSortedMap<FK,​TK,​FV,​TV>

  • Type Parameters:
    FK - the type of the keys in the underlying SortedSet
    TK - the type that the keys should be converted to
    FV - the type of the values in the underlying SortedSet
    TV - the type that the values should be converted to
    All Implemented Interfaces:
    Serializable, Map<TK,​TV>, SortedMap<TK,​TV>
    Enclosing class:
    ConverterCollections

    public static class ConverterCollections.ConverterSortedMap<FK,​TK,​FV,​TV>
    extends ConverterCollections.ConverterMap<FK,​TK,​FV,​TV>
    implements SortedMap<TK,​TV>, Serializable
    A Converter SortedMap views an underlying SortedMap through a set of key and value Converters.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConverterSortedMap

        public ConverterSortedMap​(SortedMap<FK,​FV> map,
                                  Converter<FK,​TK> convKeyUp,
                                  Converter<TK,​FK> convKeyDown,
                                  Converter<FV,​TV> convValUp,
                                  Converter<TV,​FV> convValDown)
        Constructor.
        Parameters:
        map - the underlying SortedMap
        convKeyUp - the Converter to view the underlying SortedMap's keys through
        convKeyDown - the Converter to use to pass keys down to the underlying SortedMap
        convValUp - the Converter to view the underlying SortedMap's values through
        convValDown - the Converter to use to pass values down to the underlying SortedMap