public static ValueFilter createValueFilter ( String operation , Double value ) { checkArgument ( LONG_DOUBLE_SUPPORTED_OPERATION . contains ( operation ) , "Double value only support operations in " + LONG_DOUBLE_SUPPORTED_OPERATION . toString ( ) ) ; ValueFilter valueFilter = new ValueFilter ( operation , String . valueOf ( value ) ) ; return valueFilter ; }
Create value filter for Double type .