@Test public void sizeFormatWithIntegersOnly() { assertEquals("%8.0f", INTEGERS.get("FOO").getSizeFormat()); }
public Instrument get(String instrument) { for (Instrument value : values) { if (instrument.equals(value.asString())) return value; } return null; }
Instruments implements Iterable<Instrument> { public Instrument get(String instrument) { for (Instrument value : values) { if (instrument.equals(value.asString())) return value; } return null; } }
Instruments implements Iterable<Instrument> { public Instrument get(String instrument) { for (Instrument value : values) { if (instrument.equals(value.asString())) return value; } return null; } private  Instruments(Instrument[] values, int priceIntegerDigits, int maxPriceFractionDigits,
            int sizeIntegerDigits, int maxSizeFractionDigits); }
Instruments implements Iterable<Instrument> { public Instrument get(String instrument) { for (Instrument value : values) { if (instrument.equals(value.asString())) return value; } return null; } private  Instruments(Instrument[] values, int priceIntegerDigits, int maxPriceFractionDigits,
            int sizeIntegerDigits, int maxSizeFractionDigits); Instrument get(String instrument); Instrument get(long instrument); Iterator<Instrument> iterator(); int getMaxPriceFractionDigits(); int getMaxSizeFractionDigits(); int getPriceWidth(); int getSizeWidth(); String getPricePlaceholder(); String getSizePlaceholder(); static Instruments fromConfig(Config config, String path); }
Instruments implements Iterable<Instrument> { public Instrument get(String instrument) { for (Instrument value : values) { if (instrument.equals(value.asString())) return value; } return null; } private  Instruments(Instrument[] values, int priceIntegerDigits, int maxPriceFractionDigits,
            int sizeIntegerDigits, int maxSizeFractionDigits); Instrument get(String instrument); Instrument get(long instrument); Iterator<Instrument> iterator(); int getMaxPriceFractionDigits(); int getMaxSizeFractionDigits(); int getPriceWidth(); int getSizeWidth(); String getPricePlaceholder(); String getSizePlaceholder(); static Instruments fromConfig(Config config, String path);  }