package org.simantics.db.layer0.property; import org.simantics.db.Resource; public final class OrderedResource implements Comparable { final public Integer i; final public Resource r; public OrderedResource(Integer i, Resource r) { this.i = i; this.r = r; } @Override public int compareTo(OrderedResource o) { return i.compareTo(o.i); } }