@Override public int compareTo(Property<?, ?> other) { if (other instanceof IntProperty || (other instanceof MappedIntProperty && other.getKey().equals(this.getKey()))) { return this.getValue().compareTo(Coerce.toInteger(other.getValue())); } return 1; }
@Override public int compareTo(Property<?, ?> other) { if (other instanceof IntProperty || (other instanceof MappedIntProperty && other.getKey().equals(this.getKey()))) { return this.getValue().compareTo(Coerce.toInteger(other.getValue())); } return 1; }