public static class Version.DotSequence extends java.lang.Object implements java.lang.Comparable<Version.DotSequence>
DotSequence class represents the x.y.z parts of a Version object.| Modifier and Type | Method and Description |
|---|---|
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.
|
public boolean equals(java.lang.Object v)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 comparepublic java.lang.String toString()
toString in class java.lang.Object