Package jp.ac.kobe_u.cs.prolog.lang

Examples of jp.ac.kobe_u.cs.prolog.lang.EvaluationException


    return cont;
  }

  protected Term inverseConversion(Object o) {
    if (o == null) {
      throw new EvaluationException(this, 2, "undefined");
    } else if (o instanceof Byte || o instanceof Short
        || o instanceof Integer || o instanceof Long) {
      return new IntegerTerm(((Number) o).intValue());
    } else if (o instanceof Float || o instanceof Double) {
      return new DoubleTerm(((Number) o).doubleValue());
View Full Code Here

TOP

Related Classes of jp.ac.kobe_u.cs.prolog.lang.EvaluationException

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.