cdm/src/main/java/ucar/unidata/geoloc/EarthEllipsoid.java
public static EarthEllipsoid getType(int epsgId) {
    Collection<EarthEllipsoid> all = getAll();
    for (EarthEllipsoid ellipsoid : all) {
      if (ellipsoid.epsgId == epsgId) {
        return ellipsoid;
      }
    }
    return null;
  }
public static EarthEllipsoid getType(int epsgId) {
    Collection<EarthEllipsoid> all = getAll();
    for (EarthEllipsoid ellipsoid : all) {
      if (ellipsoid.epsgId == epsgId) {
        return ellipsoid;
      }
    }
    return null;
  }
public static EarthEllipsoid getType ( int epsgId ) { Collection < EarthEllipsoid > all = getAll ( ) ; for ( EarthEllipsoid ellipsoid : all ) { if ( ellipsoid . epsgId == epsgId ) { return ellipsoid ; } } return null ; }
Find the EarthEllipsoid that matches this EPSG Id.

@param epsgId : epsg Id to match
@return EarthEllipsoid or null if no match.
Find the EarthEllipsoid that matches this EPSG Id .