public class RuntimeConstrainedComparator extends Object implements Comparator
Modifier and Type | Field and Description |
---|---|
protected Comparator |
comp |
protected int |
index |
protected int |
threshold |
Constructor and Description |
---|
RuntimeConstrainedComparator(Comparator comp,
int threshold) |
protected Comparator comp
protected int index
protected int threshold
public RuntimeConstrainedComparator(Comparator comp, int threshold)
public int compare(Object o1, Object o2)
compare
in interface Comparator
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.