IteratorComparable<U, T extends Comparable<U>> extension

on

Methods

cmp(Iterator<U> other) int
Lexicographically compares the elements of this Iterator with those of another. Less = -1 Equal = 0 Greater = 1
ge(Iterator<U> other) bool
Determines if the elements of this Iterator are lexicographically greater than or equal to those of another.
gt(Iterator<U> other) bool
Determines if the elements of this Iterator are lexicographically greater than those of another.
le(Iterator<U> other) bool
Determines if the elements of this Iterator are lexicographically less or equal to those of another.
lt(Iterator<U> other) bool
Determines if the elements of this Iterator are lexicographically less than those of another.
ne(Iterator<U> other) bool
Determines if the elements of this Iterator are not equal to those of another.