compareTo method

  1. @override
int compareTo(
  1. HttpResponse other
)
override

Compares using instanceTime.

Implementation

@override
int compareTo(HttpResponse other) {
  return instanceTime < other.instanceTime
      ? -1
      : (instanceTime == other.instanceTime ? 0 : 1);
}