compareTo method

int compareTo(
  1. AppInfo other
)

Method for comparing this AppInfo instance with another based on name.

Implementation

int compareTo(AppInfo other) {
  return name.compareTo(other.name);
}