compareBySupport<T> static method

int compareBySupport<T>(
  1. AssociationRule<T> a,
  2. AssociationRule<T> b
)

Compares rules by support (descending order).

Implementation

static int compareBySupport<T>(AssociationRule<T> a, AssociationRule<T> b) =>
    b.support.compareTo(a.support);