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
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
-
Constructor Details
-
LongToBooleanConverter
public LongToBooleanConverter()
-
Method Details
-
convert
- Specified by:
convert
in interface org.springframework.core.convert.converter.Converter<Long,Boolean>