operator < method

bool operator <(
  1. T other
)

Implementation

bool operator <(T other) {
  return compareTo(other) < 0;
}