public boolean matches ( Property property ) { return property . getName ( ) . equals ( key ) && ( value == WILDCARD_VALUE || property . getValue ( ) . asString ( ) . equals ( value ) ) ; }
Determine whether the given property matches this element . A property matches this element when property name and this key are equal values are equal or this element value is a wildcard .