private boolean isIncluded( VarNamePattern varNamePath)
    {
    // If no included patterns specified, include all variables.
    boolean included = getIncludedVars().isEmpty();
    if( !included)
      {
      // Otherwise, look for a matching pattern.
      Iterator<VarNamePattern> includedVars = getIncludedVars().iterator();
      while( includedVars.hasNext() && !(included = includedVars.next().matches( varNamePath)));
      }
    
    return included;
    }
private boolean isIncluded ( VarNamePattern varNamePath ) { boolean included = getIncludedVars ( ) . isEmpty ( ) ; if ( ! included ) { Iterator < VarNamePattern > includedVars = getIncludedVars ( ) . iterator ( ) ; while ( includedVars . hasNext ( ) && ! ( included = includedVars . next ( ) . matches ( varNamePath ) ) ) ; } return included ; }
Returns true if the given variable matches any included input variable.