operator > method

bool operator >(
  1. Logic other
)

Implementation

bool operator >(Logic other) {
  return compareTo(other) == 1;
}