|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dukascopy.api.PriceRange
public final class PriceRange
The class is used for Range Bar price interval identification
| Field Summary | |
|---|---|
static PriceRange |
FIVE_PIPS
|
static PriceRange |
FOUR_PIPS
|
static int |
MAXIMAL_PIP_COUNT
|
static PriceRange |
ONE_PIP
|
static PriceRange |
SIX_PIPS
|
static PriceRange |
THREE_PIPS
|
static PriceRange |
TWO_PIPS
|
| Method Summary | |
|---|---|
int |
compareTo(PriceRange priceRange)
|
static List<PriceRange> |
createJForexPriceRanges()
Method creates and returns all available to JForex Price Ranges. |
boolean |
equals(Object obj)
|
String |
getName()
Method returns the price range name |
int |
getPipCount()
Method returns pip count of price range |
int |
hashCode()
|
String |
toString()
|
static PriceRange |
valueOf(int pipCount)
The method returns appropriate PriceRange for the passed pip count |
static PriceRange |
valueOf(String str)
The method returns appropriate PriceRange for the passed String |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PriceRange ONE_PIP
public static final PriceRange TWO_PIPS
public static final PriceRange THREE_PIPS
public static final PriceRange FOUR_PIPS
public static final PriceRange FIVE_PIPS
public static final PriceRange SIX_PIPS
public static int MAXIMAL_PIP_COUNT
| Method Detail |
|---|
public String getName()
public int getPipCount()
public static PriceRange valueOf(String str)
str -
public static PriceRange valueOf(int pipCount)
str -
public static List<PriceRange> createJForexPriceRanges()
public String toString()
toString in class Objectpublic int compareTo(PriceRange priceRange)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||