Examples of intValue()


Examples of lombok.val.intValue()

  public static byte[] getBytes(@NotNull final UnsignedInteger value)
  {
    val bi = value.bigIntegerValue();

    byte[] ba = new byte[] {(byte) (0xff & ((bi.shiftRight(24).intValue()))), (byte) (0xff & ((bi.shiftRight(16).intValue()))),
      (byte) (0xff & ((bi.shiftRight(8).intValue()))), (byte) (0xff & bi.intValue())};

    return LITTLE_ENDIAN ? reverse(ba) : ba;
  }

  /**
 
View Full Code Here

Examples of macromedia.asc.util.NumberConstant.intValue()

           
        if (forceType) {
            ppType[0] = ftype; // either int or uint at this point
            if (ftype == cx.intType()) {
                if (!(result instanceof IntNumberConstant))
                    result = new IntNumberConstant(result.intValue());
            }
            else { // ftype == cx.uintType()
                if (!(result instanceof UintNumberConstant))
                    result = new UintNumberConstant(result.uintValue());
            }
View Full Code Here

Examples of mf.org.apache.xerces.impl.XMLErrorReporter.intValue()

        try {
            Integer value =
                (Integer)componentManager.getProperty(
                    BUFFER_SIZE);

            if (value != null && value.intValue() > 0) {
                fBufferSize = value.intValue();
                if (fChildConfig != null) {
                    fChildConfig.setProperty(BUFFER_SIZE, value);
                }
            }
View Full Code Here

Examples of mf.org.apache.xerces.impl.xs.util.XInt.intValue()

        } else {
            element = traverseNamedElement(elmDecl, attrValues, schemaDoc, grammar, false, parent);
        }
       
        particle.fMinOccurs = minAtt.intValue();
        particle.fMaxOccurs = maxAtt.intValue();
        if (element != null) {
            particle.fType = XSParticleDecl.PARTICLE_ELEMENT;
            particle.fValue = element;
        }
        else {
View Full Code Here

Examples of mf.org.apache.xerces.util.SecurityManager.intValue()

        try {
            Integer value =
                (Integer)componentManager.getProperty(
                    BUFFER_SIZE);

            if (value != null && value.intValue() > 0) {
                fBufferSize = value.intValue();
                if (fChildConfig != null) {
                    fChildConfig.setProperty(BUFFER_SIZE, value);
                }
            }
View Full Code Here

Examples of mf.org.apache.xerces.util.SymbolTable.intValue()

        try {
            Integer value =
                (Integer)componentManager.getProperty(
                    BUFFER_SIZE);

            if (value != null && value.intValue() > 0) {
                fBufferSize = value.intValue();
                if (fChildConfig != null) {
                    fChildConfig.setProperty(BUFFER_SIZE, value);
                }
            }
View Full Code Here

Examples of mf.org.apache.xerces.xni.parser.XMLEntityResolver.intValue()

        try {
            Integer value =
                (Integer)componentManager.getProperty(
                    BUFFER_SIZE);

            if (value != null && value.intValue() > 0) {
                fBufferSize = value.intValue();
                if (fChildConfig != null) {
                    fChildConfig.setProperty(BUFFER_SIZE, value);
                }
            }
View Full Code Here

Examples of net.fortytwo.ripple.model.NumericValue.intValue()

                case DOUBLE:
                    return n.doubleValue();
                case FLOAT:
                    return n.floatValue();
                case INTEGER:
                    return n.intValue();
                case LONG:
                    return n.longValue();
                default:
                    throw new ScriptException("numeric value of unexpected type: " + v);
            }
View Full Code Here

Examples of net.helipilot50.stocktrade.framework.IntegerData.intValue()

                this.radioList.clearSelection();

                return this.radioList;
              }
              else {
                num = anInt.intValue();
              }
            }
            this.radioList.setSelectedIndex(num-1);
          }
          // must be s string or textdata
View Full Code Here

Examples of net.sf.qxs.types.UntypedValue.intValue()

    UntypedValue port = new UntypedValue(evaluateXPathString("port", root));
    if (port.stringValue("").equals(""))
      port = UntypedValue.NULL_VALUE;
    checkInt(port, "port number", 1, 0xffff);
    if (!port.equals(UntypedValue.NULL_VALUE))
      cfg.setPort(port.intValue(ServerConfig.HTTP_PORT_DEFAULT));
   
    String request_log = evaluateXPathString("requestLog/@path", root);
    if (!request_log.isEmpty())
      cfg.setRequestLogPath(request_log);
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.