public final class FDVersion
extends java.lang.Object
Constructor and Description |
---|
FDVersion(int majorVersion,
int minorVersion) |
FDVersion(java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
static int |
compare(FDVersion v1,
FDVersion v2)
Compares two
FDVersion objects |
static int |
compare(java.lang.String v1,
java.lang.String v2)
Compares two string objects representing guide version
|
int |
compareTo(FDVersion version)
Compares two version objects
|
java.lang.String |
toString()
Returns
FDVersion object as string |
public FDVersion(int majorVersion, int minorVersion)
public FDVersion(java.lang.String version)
public int compareTo(FDVersion version)
version
- version to compare with0
if version
is
numerically equal to this FDVersion
; a value
less than 0
if this FDVersion
is numerically less than version
;
and a value greater than 0
if this
FDVersion
is numerically greater than
version
.public static int compare(java.lang.String v1, java.lang.String v2)
v1
- string representing guide versionv2
- string representing guide versionpublic java.lang.String toString()
FDVersion
object as stringtoString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved