|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pkg.client.Version.DotSequence
public static class Version.DotSequence
The DotSequence
class represents the x.y.z parts of a Version object.
Method Summary | |
---|---|
int |
compareTo(Version.DotSequence d)
|
boolean |
equals(java.lang.Object v)
Compare two DotSequences for equality. |
int |
hashCode()
|
boolean |
isSubsequence(Version.DotSequence d)
Determine if this DotSequence is a subsequence of another. |
boolean |
matches(Version.DotSequence d)
|
java.lang.String |
toString()
Returns a string form of the DotSequence. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean equals(java.lang.Object v)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Version.DotSequence d)
compareTo
in interface java.lang.Comparable<Version.DotSequence>
public boolean matches(Version.DotSequence d)
public boolean isSubsequence(Version.DotSequence d)
d
- the Dotsequence to compare
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |