Class MapConverter<S,T>

java.lang.Object
org.springframework.data.redis.connection.convert.MapConverter<S,T>
Type Parameters:
S - The type of keys and values in the Map to convert
T - The type of keys and values in the converted Map
All Implemented Interfaces:
Converter<Map<S,S>,Map<T,T>>

public class MapConverter<S,T> extends Object implements Converter<Map<S,S>,Map<T,T>>
Converts a Map of values of one key/value type to a Map of values of another type
Author:
Jennifer Hickey, Christoph Strobl
  • Constructor Details

    • MapConverter

      public MapConverter(Converter<S,T> itemConverter)
      Parameters:
      itemConverter - The Converter to use for converting individual Map keys and values. Must not be null.
  • Method Details