public static ValueFilter createValueFilterOfTag ( String operation , String tagKey ) { checkArgument ( TAG_SUPPORTED_OPERATION . contains ( operation ) , "Value of tag key only support operations in " + TAG_SUPPORTED_OPERATION . toString ( ) ) ; ValueFilter valueFilter = new ValueFilter ( operation , tagKey ) ; return valueFilter ; }
Create value filter for comparing with the value of tag key .