Package com.barchart.feed.base.values.api

Examples of com.barchart.feed.base.values.api.TextValue


    market.clearChanges();
    // ### process quote

    // TODO part of instrument; should update definition?
    final TextValue symbolName = message.getSymbolName();
    final PriceValue priceStep = message.getPriceStep();
    final PriceValue pointValue = message.getPointValue();

    // TODO add more complete flag support?
    final DDF_Condition condition = message.getCondition();
View Full Code Here


  }

  /** random uuid based text id */
  public static final TextValue newTextId() {
    final UUID uuid = UUID.randomUUID();
    final TextValue text = newText(uuid.toString());
    return text;
  }
View Full Code Here

   *
   * @param text the text
   * @return the dD f_ symbol
   */
  public static final DDF_Symbol find(final TextValue text) {
    final TextValue guid = DDF_Symbology.lookupFromSymbol(text);
    DDF_Symbol symbol = symbolMap.get(guid);

    //log.error("find {}", text);

    if (symbol == null) {
      symbol = decode(guid.toString());
      // TODO handle null symbol
      symbolMap.putIfAbsent(guid, symbol);
    }
    return symbol;
  }
View Full Code Here

TOP

Related Classes of com.barchart.feed.base.values.api.TextValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.