org.springframework.data.redis.connection.convert
Class LongToBooleanConverter

java.lang.Object
  

extended by org.springframework.data.redis.connection.convert.LongToBooleanConverter
All Implemented Interfaces:
Converter<Long,Boolean>

public class LongToBooleanConverter
extends Object
implements Converter<Long,Boolean>

Converts Longs to Booleans


Constructor Summary
LongToBooleanConverter()
           
 
Method Summary
 Boolean convert(Long result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongToBooleanConverter

public LongToBooleanConverter()
Method Detail

convert

public Boolean convert(Long result)
Specified by:
convert in interface Converter<Long,Boolean>