Package clojure.lang

Examples of clojure.lang.IMapEntry.val()


    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


    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;
  }

  private String safeToString(Object value) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.