Enum IdexExchange.Companion

java.lang.Object
java.lang.Enum<IdexExchange.Companion>
org.knowm.xchange.idex.IdexExchange.Companion
All Implemented Interfaces:
Serializable, Comparable<IdexExchange.Companion>, java.lang.constant.Constable
Enclosing class:
IdexExchange

public static enum IdexExchange.Companion extends Enum<IdexExchange.Companion>
  • Method Details

    • values

      public static IdexExchange.Companion[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IdexExchange.Companion valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • safeParse

      public static BigDecimal safeParse(String s)
    • getMarket

      public static String getMarket(CurrencyPair currencyPair)
    • getCurrencyPair

      public static CurrencyPair getCurrencyPair(String market)