|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.petertribble.pkgview.PatchComparator
public class PatchComparator
Sorts Solaris patch numbers. These are of the form ######-## comprising a 6-digit patch number and a 2-digit revision. The patch number is first compared, the revision is only compared if the patch number is the same.
Method Summary | |
---|---|
int |
compare(SolarisPatch p1,
SolarisPatch p2)
|
static PatchComparator |
getInstance()
|
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 |
Method Detail |
---|
public static PatchComparator getInstance()
public int compare(SolarisPatch p1, SolarisPatch p2)
compare
in interface java.util.Comparator<SolarisPatch>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |