cdm/src/main/java/ucar/nc2/ft/fmrc/EnsCoord.java
static public EnsCoord findEnsCoord(List<EnsCoord> ensCoords, EnsCoord want) {
    if (want == null) return null;

    for (EnsCoord ec : ensCoords) {
      if (want.equalsData(ec))
        return ec;
    }

    // make a new one
    EnsCoord result = new EnsCoord(want);
    ensCoords.add(result);
    return result;
  }
static public EnsCoord findEnsCoord(List<EnsCoord> ensCoords, EnsCoord want) {
    if (want == null) return null;

    for (EnsCoord ec : ensCoords) {
      if (want.equalsData(ec))
        return ec;
    }

    // make a new one
    EnsCoord result = new EnsCoord(want);
    ensCoords.add(result);
    return result;
  }
static public EnsCoord findEnsCoord ( List < EnsCoord > ensCoords , EnsCoord want ) { if ( want == null ) return null ; for ( EnsCoord ec : ensCoords ) { if ( want . equalsData ( ec ) ) return ec ; } // make a new one
 EnsCoord result = new EnsCoord ( want ) ; ensCoords . add ( result ) ; return result ; }
//////////////
//////////////