com.sun.pkg.client
Class Version.DotSequence
java.lang.Object
com.sun.pkg.client.Version.DotSequence
- All Implemented Interfaces:
- java.lang.Comparable<Version.DotSequence>
- Enclosing class:
- Version
public static class Version.DotSequence
- extends java.lang.Object
- implements java.lang.Comparable<Version.DotSequence>
The DotSequence class represents the x.y.z parts of a Version object.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
compareTo
public int compareTo(Version.DotSequence d)
- Specified by:
compareTo in interface java.lang.Comparable<Version.DotSequence>
matches
public boolean matches(Version.DotSequence d)
toString
public java.lang.String toString()
- Returns a string form of the DotSequence.
- Overrides:
toString in class java.lang.Object
- Returns:
- a string representing the DotSequence. This are the numbers of
the Dotsequence separated by periods.