com.dukascopy.api
Class ReversalAmount
java.lang.Object
com.dukascopy.api.ReversalAmount
public final class ReversalAmount
- extends Object
ONE
public static final ReversalAmount ONE
TWO
public static final ReversalAmount TWO
THREE
public static final ReversalAmount THREE
FOUR
public static final ReversalAmount FOUR
FIVE
public static final ReversalAmount FIVE
MAXIMAL_REVERSAL_AMOUNT
public static int MAXIMAL_REVERSAL_AMOUNT
valueOf
public static ReversalAmount valueOf(String str)
- The method returns appropriate ReversalAmount for the passed String
- Parameters:
str -
- Returns:
- Reversal Amount
valueOf
public static ReversalAmount valueOf(int amount)
- The method returns appropriate Reversal Amount for the passed amount
- Parameters:
str -
- Returns:
- Reversal Amount
createJForexPriceRanges
public static List<ReversalAmount> createJForexPriceRanges()
- Method creates and returns all available to JForex Reversal Amounts
- Returns:
- the list of Reversal Amounts
toString
public String toString()
- Overrides:
toString in class Object
getAmount
public int getAmount()
compareTo
public int compareTo(ReversalAmount reversalAmount)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2011. All Rights Reserved.