Code example for Collection

Methods: contains

0
    { 
        if ( value != null )
        { 
            expression = ValueSourceUtils.trimPrefix( expression, expressionPrefixes, true );
 
            if ( unprefixedPathKeys.contains( expression ) )
            { 
                return pathTranslator.alignToBaseDirectory( String.valueOf( value ), projectDir );
            } 
        } 
 
        return null; 
    } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java