|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.violations.util.Compares
public class Compares
A utility class to help compare objects.
| Constructor Summary | |
|---|---|
Compares()
|
|
| Method Summary | |
|---|---|
static int |
compare(java.lang.Comparable... objects)
Compare a list of pair of objects. |
static int |
compare(java.lang.Comparable a,
java.lang.Comparable b)
Compare two (nullable) objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Compares()
| Method Detail |
|---|
public static int compare(java.lang.Comparable a,
java.lang.Comparable b)
a - the first objectb - the second object
public static int compare(java.lang.Comparable... objects)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||