class RankableObjectWithFields implements Rankable, Serializable {

  @Override
  public int compareTo(Rankable other) {
    long delta = this.getCount() - other.getCount();
    if (delta > 0) {
      return 1;
    }
    else if (delta < 0) {
      return -1;
    }
    else {
      return 0;
    }
  }

  public  RankableObjectWithFields(Object obj, long count, Object... otherFields);

}