cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java
private int findCoordElementDiscontiguousInterval(double[] target, boolean bounded) {
    for (int i = 0; i < axis.getNcoords(); i++) {
      double edge1 = axis.getCoordEdge1(i);
      double edge2 = axis.getCoordEdge2(i);
      if (Misc.nearlyEquals(edge1, target[0]) && Misc.nearlyEquals(edge2, target[1]))
        return i;
    }
    return -1;
  }
private int findCoordElementDiscontiguousInterval(double[] target, boolean bounded) {
    for (int i = 0; i < axis.getNcoords(); i++) {
      double edge1 = axis.getCoordEdge1(i);
      double edge2 = axis.getCoordEdge2(i);
      if (Misc.nearlyEquals(edge1, target[0]) && Misc.nearlyEquals(edge2, target[1]))
        return i;
    }
    return -1;
  }
private int findCoordElementDiscontiguousInterval ( double [ ] target , boolean bounded ) { for ( int i = 0 ; i < axis . getNcoords ( ) ; i ++ ) { double edge1 = axis . getCoordEdge1 ( i ) ; double edge2 = axis . getCoordEdge2 ( i ) ; if ( Misc . nearlyEquals ( edge1 , target [ 0 ] ) && Misc . nearlyEquals ( edge2 , target [ 1 ] ) ) return i ; } return - 1 ; }
LOOK not using bounded
LOOK not using bounded