|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sasl.common.helper.CompareToHelper
public class CompareToHelper
Class offers helper operations for object comparison.
| Constructor Summary | |
|---|---|
CompareToHelper()
|
|
| Method Summary | ||
|---|---|---|
|
compareTo(T one,
T two)
Compares one with two, without causing null pointer exceptions, if one or two is null. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompareToHelper()
| Method Detail |
|---|
public <T extends Comparable<T>> int compareTo(T one,
T two)
T - one - null or non null.two - null or non null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||