Package erjang

Examples of erjang.EObject.asInt()


        ETuple dst = dd.testTuple();

        EObject key = dst.elm(1);
        EObject value = dst.elm(2);
        if (key == X_ATOM) {
          current = current.setx(value.asInt(),
              type == Type.DOUBLE_TYPE ? EDOUBLE_TYPE : type,
                     FV.this);
        } else if (key == Y_ATOM) {
          current = current.sety(value.asInt(),
              type == Type.DOUBLE_TYPE ? EDOUBLE_TYPE : type);
View Full Code Here


        if (key == X_ATOM) {
          current = current.setx(value.asInt(),
              type == Type.DOUBLE_TYPE ? EDOUBLE_TYPE : type,
                     FV.this);
        } else if (key == Y_ATOM) {
          current = current.sety(value.asInt(),
              type == Type.DOUBLE_TYPE ? EDOUBLE_TYPE : type);
        } else if (key == FR_ATOM) {
          current = current.setf(value.asInt(), type);
        } else {
          throw new Error("unknown " + dst);
View Full Code Here

                     FV.this);
        } else if (key == Y_ATOM) {
          current = current.sety(value.asInt(),
              type == Type.DOUBLE_TYPE ? EDOUBLE_TYPE : type);
        } else if (key == FR_ATOM) {
          current = current.setf(value.asInt(), type);
        } else {
          throw new Error("unknown " + dst);
        }

        return current;
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.