public boolean matches ( PathElement pe ) { return pe . key . equals ( key ) && ( isWildcard ( ) || pe . value . equals ( value ) ) ; }
Determine whether the given element matches this element . An element matches this element when keys are equal values are equal or this element value is a wildcard .