|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.AsteriskVersion
public class AsteriskVersion
Represents the version of an Asterisk server.
Field Summary | |
---|---|
static AsteriskVersion |
ASTERISK_1_0
Represents the Asterisk 1.0 series. |
static AsteriskVersion |
ASTERISK_1_2
Represents the Asterisk 1.2 series. |
static AsteriskVersion |
ASTERISK_1_4
Represents the Asterisk 1.4 series. |
static AsteriskVersion |
ASTERISK_1_6
Represents the Asterisk 1.6 series. |
Method Summary | |
---|---|
int |
compareTo(AsteriskVersion o)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
isAtLeast(AsteriskVersion o)
Returns true if this version is equal to or higher than
the given version. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AsteriskVersion ASTERISK_1_0
public static final AsteriskVersion ASTERISK_1_2
public static final AsteriskVersion ASTERISK_1_4
public static final AsteriskVersion ASTERISK_1_6
Method Detail |
---|
public boolean isAtLeast(AsteriskVersion o)
true
if this version is equal to or higher than
the given version.
o
- the version to compare to
true
if this version is equal to or higher than
the given version, false
otherwise.public int compareTo(AsteriskVersion o)
compareTo
in interface java.lang.Comparable<AsteriskVersion>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |