|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.lang.Comparables
public final class Comparables
Utilities regarding Comparable type objects.
Constructor Summary | |
---|---|
Comparables()
|
Method Summary | |
---|---|
static java.lang.Comparable |
max(java.lang.Comparable a,
java.lang.Comparable b)
Given two comparables, return the maximum of the two. |
static java.lang.Comparable |
min(java.lang.Comparable a,
java.lang.Comparable b)
Given two comparables, return the minimum of the two. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Comparables()
Method Detail |
---|
public static final java.lang.Comparable min(java.lang.Comparable a, java.lang.Comparable b)
public static final java.lang.Comparable max(java.lang.Comparable a, java.lang.Comparable b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |