|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teraspaces.qwfix.FIXVersion
public final class FIXVersion
Represents a version of a FIX protocol. Currently version 4.0, 4.1, 4.2, 4.3, 4.4 and 5.0 are supported. This class cannot be inherited.
| Constructor Summary | |
|---|---|
FIXVersion(int major,
int minor)
Instantiates a new FIXVersion. |
|
FIXVersion(String s)
Instantiates a new FIXVersion. |
|
| Method Summary | |
|---|---|
int |
compareTo(FIXVersion v)
|
boolean |
equals(Object obj)
|
int |
getMajor()
Gets the major. |
int |
getMinor()
Gets the minor. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FIXVersion(String s)
s - the s
public FIXVersion(int major,
int minor)
major - the majorminor - the minor| Method Detail |
|---|
public int getMajor()
public int getMinor()
public int compareTo(FIXVersion v)
compareTo in interface Comparable<FIXVersion>public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||