Dashboard Builder Commons 6.2.0.Beta1

org.jboss.dashboard.commons.comparator
Class RuntimeConstrainedComparator

java.lang.Object
  extended by org.jboss.dashboard.commons.comparator.RuntimeConstrainedComparator
All Implemented Interfaces:
Comparator

public class RuntimeConstrainedComparator
extends Object
implements Comparator


Field Summary
protected  Comparator comp
           
protected  int index
           
protected  int threshold
           
 
Constructor Summary
RuntimeConstrainedComparator(Comparator comp, int threshold)
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

comp

protected Comparator comp

index

protected int index

threshold

protected int threshold
Constructor Detail

RuntimeConstrainedComparator

public RuntimeConstrainedComparator(Comparator comp,
                                    int threshold)
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

Dashboard Builder Commons 6.2.0.Beta1

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.