Class ListConverter<S,T>

java.lang.Object
org.springframework.data.redis.connection.convert.ListConverter<S,T>
Type Parameters:
S - The type of elements in the List to convert
T - The type of elements in the converted List
All Implemented Interfaces:
Converter<List<S>,List<T>>

public class ListConverter<S,T> extends Object implements Converter<List<S>,List<T>>
Converts a List of values of one type to a List of values of another type
Author:
Jennifer Hickey, Mark Paluch, Christoph Strobl
  • Constructor Details

    • ListConverter

      public ListConverter(Converter<S,T> itemConverter)
      Parameters:
      itemConverter - The Converter to use for converting individual List items
  • Method Details