Package clojure.lang

Examples of clojure.lang.IMapEntry


  private int getLineNr(Obj obj) {
    int lineNr = -1;
    if (obj.meta() == null) {
      return lineNr;
    }
    IMapEntry line = obj.meta().entryAt(KEYWORD_LINE);
    if (line != null && line.val() instanceof Number) {
      lineNr = ((Number) line.val()).intValue();
    }
    return lineNr;
  }
View Full Code Here

TOP

Related Classes of clojure.lang.IMapEntry

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.