Class IntegerListSelectBoxDisplay2.NumberComparator
java.lang.Object
name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay2.NumberComparator
- All Implemented Interfaces:
Comparator<SelectBoxItemDisplay2<Integer,
Integer>>
- Enclosing class:
IntegerListSelectBoxDisplay2
public class IntegerListSelectBoxDisplay2.NumberComparator
extends Object
implements Comparator<SelectBoxItemDisplay2<Integer,Integer>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NumberComparator
public NumberComparator()
-
-
Method Details
-
compare
public int compare(SelectBoxItemDisplay2<Integer, Integer> o1, SelectBoxItemDisplay2<Integer, Integer> o2) - Specified by:
compare
in interfaceComparator<SelectBoxItemDisplay2<Integer,
Integer>>
-