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