src/main/java/ucar/geoapi/NetcdfCRS.java
private static int lower(final List<CoordinateAxis> axes, int upper, final AxisType t1, final AxisType t2) {
        while (upper != 0) {
            final AxisType type = axes.get(upper-1).getAxisType();
            if (type != t1 && type != t2) {
                break;
            }
            upper--;
        }
        return upper;
    }
/**
     * Returns the lower index of the sublist containing axes of the given types.
     *
     * @param  axes   the list from which to get the sublist indices.
     * @param  upper  the upper index of the sublist, inclusive.
     * @param  t1     the first axis type to accept.
     * @param  t2     the second axis type to accept.
     * @return the lower index of the sublist range.
     */
Returns the lower index of the sublist containing axes of the given types.
@param  axes   the list from which to get the sublist indices.
@param  upper  the upper index of the sublist, inclusive.
@param  t1     the first axis type to accept.
@param  t2     the second axis type to accept.
@return the lower index of the sublist range.
Returns the lower index of the sublist containing axes of the given types . @param axes the list from which to get the sublist indices . @param upper the upper index of the sublist inclusive . @param t1 the first axis type to accept . @param t2 the second axis type to accept . @return the lower index of the sublist range .
private static int lower(final List<CoordinateAxis> axes, int upper, final AxisType t1, final AxisType t2) {
        while (upper != 0) {
            final AxisType type = axes.get(upper-1).getAxisType();
            if (type != t1 && type != t2) {
                break;
            }
            upper--;
        }
        return upper;
    }
private static int lower ( final List < CoordinateAxis > axes , int upper , final AxisType t1 , final AxisType t2 ) { while ( upper != 0 ) { final AxisType type = axes . get ( upper - 1 ) . getAxisType ( ) ; if ( type != t1 && type != t2 ) { break ; } upper -- ; } return upper ; }
Returns the lower index of the sublist containing axes of the given types.
Returns the lower index of the sublist containing axes of the given types .