int i1 = is1.getMaximumCapacity(); int i2 = is2.getMaximumCapacity();
int i1 = is1.getMaximumCapacityCount(); int i2 = is2.getMaximumCapacityCount();
      public int compare(Object o1, Object o2) {        InstanceStats is1 = (InstanceStats) o1;        InstanceStats is2 = (InstanceStats) o2;        int i1 = is1.getMaximumCapacity();        int i2 = is2.getMaximumCapacity();        return i2 - i1;      }