legacy/src/main/java/thredds/catalog/MetadataType.java
public static MetadataType findType(String name) {
    if (name == null) return null;
    for (MetadataType m : members) {
      if (m.name.equalsIgnoreCase(name))
        return m;
    }
    return null;
  }
public static MetadataType findType(String name) {
    if (name == null) return null;
    for (MetadataType m : members) {
      if (m.name.equalsIgnoreCase(name))
        return m;
    }
    return null;
  }
public static MetadataType findType ( String name ) { if ( name == null ) return null ; for ( MetadataType m : members ) { if ( m . name . equalsIgnoreCase ( name ) ) return m ; } return null ; }
Return the known MetadataType that matches the given name (ignoring case)
or null if the name is unknown.

@param name the name of the desired DataFormatType.
@return MetadataType or null if no match.
Return the known MetadataType that matches the given name ( ignoring case ) or null if the name is unknown .