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

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