public int compare( Geometry g1, Geometry g2 ) { float l1 = getLayer(g1); float l2 = getLayer(g2); if (l1 < l2) return -1 * bias; if (l2 < l1) return 1 * bias; return delegate.compare(g1, g2); }
public int compare( Geometry g1, Geometry g2 ) { float l1 = getLayer(g1); float l2 = getLayer(g2); if (l1 < l2) return -1 * bias; if (l2 < l1) return 1 * bias; return delegate.compare(g1, g2); }