InstanceByPriorityComparator

A comparator that orders objects according to their Priority annotation.

API

InstanceByPriorityComparator.java
class InstanceByPriorityComparator {
  InstanceByPriorityComparator instance()
  int compare(Object o1, Object o2)
}