Class BitcoindeOrderFlagsTradingPartnerInformation
java.lang.Object
org.knowm.xchange.bitcoinde.v4.dto.BitcoindeOrderFlagsTradingPartnerInformation
- All Implemented Interfaces:
Order.IOrderFlags
public final class BitcoindeOrderFlagsTradingPartnerInformation extends Object implements Order.IOrderFlags
-
Constructor Summary
Constructors Constructor Description BitcoindeOrderFlagsTradingPartnerInformation()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Indicates whether some other object is "equal to" this one by checking whether this is an instance ofBitcoindeOrderFlagsTradingPartnerInformation
to comply with #hashCode()int
hashCode()
Returns a hash code value for the class itself.
-
Constructor Details
-
BitcoindeOrderFlagsTradingPartnerInformation
public BitcoindeOrderFlagsTradingPartnerInformation()
-
-
Method Details
-
hashCode
public int hashCode()Returns a hash code value for the class itself. This ensure thatOrder.getOrderFlags()
can only contain a single instance ofBitcoindeOrderFlagsTradingPartnerInformation
.- Overrides:
hashCode
in classObject
- Returns:
- a hash code value for this object.
- See Also:
Object.equals(java.lang.Object)
-
equals
Indicates whether some other object is "equal to" this one by checking whether this is an instance ofBitcoindeOrderFlagsTradingPartnerInformation
to comply with #hashCode()- Overrides:
equals
in classObject
- Parameters:
obj
- the reference object with which to compare.- Returns:
true
if the obj argument isinstanceof BitcoindeOrderFlagsTradingPartnerInformation
;false
otherwise.- See Also:
hashCode()
-