Class LongToBooleanConverter

java.lang.Object
org.springframework.data.redis.connection.convert.LongToBooleanConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<Long,Boolean>

public class LongToBooleanConverter extends Object implements org.springframework.core.convert.converter.Converter<Long,Boolean>
Converts Longs to Booleans
Author:
Jennifer Hickey, Christoph Strobl
  • Field Details

  • Constructor Details

    • LongToBooleanConverter

      public LongToBooleanConverter()
  • Method Details

    • convert

      public Boolean convert(Long result)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<Long,Boolean>