returns true if each element in iterable after the first is strictlygreater than the element that preceded it , according to the specified comparator . note that this is always true when the iterable has fewer than two elements . concode_field_sep PlaceHolder placeHolder concode_field_sep Comparator<Optional<T>> emptiesFirst concode_elem_sep Comparator<Optional<T>> emptiesLast concode_elem_sep Comparator<Iterable<S>> lexicographical concode_elem_sep boolean isInOrder
boolean function ( Iterable < ? extends T > arg0 , Comparator < T > arg1 ) { checkNotNull ( arg1 ) ; Iterator < ? extends T > loc0 = arg0 . iterator ( ) ; if ( loc0 . hasNext ( ) ) { T loc1 = loc0 . next ( ) ; while ( loc0 . hasNext ( ) ) { T loc2 = loc0 . loc2 ( ) ; if ( arg1 . compare ( loc1 , loc2 ) >= 0 ) { return false ; } loc1 = loc2 ; } } return true ; }