cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java
private int findCoordElementDiscontiguousInterval(double target, boolean bounded) {
    int idx = findSingleHit(target);
    if (idx >= 0) return idx;
    if (idx == -1) return -1; // no hits

    // multiple hits = choose closest to the midpoint
    return findClosest(target);
  }
private int findCoordElementDiscontiguousInterval(double target, boolean bounded) {
    int idx = findSingleHit(target);
    if (idx >= 0) return idx;
    if (idx == -1) return -1; // no hits

    // multiple hits = choose closest to the midpoint
    return findClosest(target);
  }
private int findCoordElementDiscontiguousInterval ( double target , boolean bounded ) { int idx = findSingleHit ( target ) ; if ( idx >= 0 ) return idx ; if ( idx == - 1 ) return - 1 ; // no hits // multiple hits = choose closest to the midpoint return findClosest ( target ) ; }
LOOK not using bounded
LOOK not using bounded