|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.utils.Pair<T,U>
org.deegree.commons.utils.ComparablePair<T,U>
T - U - public class ComparablePair<T extends java.lang.Comparable<T>,U extends java.lang.Comparable<U>>
ComparablePair
| Field Summary |
|---|
| Fields inherited from class org.deegree.commons.utils.Pair |
|---|
first, second |
| Constructor Summary | |
|---|---|
ComparablePair()
Create a pair with null objects. |
|
ComparablePair(T first,
U second)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Pair<T,U> o)
|
| Methods inherited from class org.deegree.commons.utils.Pair |
|---|
equals, getFirst, getSecond, hashCode, hasNull, isNull, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComparablePair(T first,
U second)
first - value of the pair.second - value of the pair.public ComparablePair()
| Method Detail |
|---|
public int compareTo(Pair<T,U> o)
compareTo in interface java.lang.Comparable<Pair<T extends java.lang.Comparable<T>,U extends java.lang.Comparable<U>>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||