Class LongToBooleanConverter

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

@Deprecated(since="4.2", forRemoval=true) public class LongToBooleanConverter extends Object implements Converter<Long,Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.2, use Converters.toBoolean(Long) instead.
Converts Longs to Booleans
Author:
Jennifer Hickey, Christoph Strobl
  • Field Details

    • INSTANCE

      public static final LongToBooleanConverter INSTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • LongToBooleanConverter

      public LongToBooleanConverter()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • convert

      public Boolean convert(Long result)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      convert in interface Converter<Long,Boolean>