|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.strategy.util.OptionContractPair
@ThreadSafe public final class OptionContractPair
Represents the put and call of a specific option and their most recent market data, if available.
The put and the call in this pair are guaranteed to be for the same symbol, expiry, and strike.
| Method Summary | |
|---|---|
int |
compareTo(OptionContractPair inPair)
|
boolean |
equals(Object inOther)
|
OptionContract |
getCall()
Gets the call OptionContract value. |
OptionContract |
getPut()
Gets the put OptionContract value. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public OptionContract getPut()
OptionContract value.
OptionContract value or nullpublic OptionContract getCall()
OptionContract value.
OptionContract value or nullpublic int compareTo(OptionContractPair inPair)
compareTo in interface Comparable<OptionContractPair>public boolean equals(Object inOther)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||