mil.dod.th.word.htm.doclet/src/org/udri/doclet/msword/Options.java
private static String[] find(String[][] options, String name)
    {
        for (String[] option : options)
        {
            if (option[0].equals(name))
                return option;
        }
        // Option not available
        return EMPTY_ARRAY;
    }
/**
     * Finds the options array for the specified option name.
     * 
     * <p>
     * The first element is <i>always</i> the name of the option.
     * 
     * @param options
     *            the matrix of command line options.
     * @param name
     *            the name of the requested option.
     * 
     * @return the corresponding array or an empty array.
     */
Finds the options array for the specified option name.


The first element is always the name of the option.

@param options
the matrix of command line options.
@param name
the name of the requested option.

@return the corresponding array or an empty array.
Finds the options array for the specified option name . The first element is always the name of the option . @param options the matrix of command line options . @param name the name of the requested option . @return the corresponding array or an empty array .
private static String[] find(String[][] options, String name)
    {
        for (String[] option : options)
        {
            if (option[0].equals(name))
                return option;
        }
        return EMPTY_ARRAY;
    }
private static String [ ] find ( String [ ] [ ] options , String name ) { for ( String [ ] option : options ) { if ( option [ 0 ] . equals ( name ) ) return option ; } return EMPTY_ARRAY ; }
Finds the options array for the specified option name.
Finds the options array for the specified option name .
// Option not available