Examples of intValue()


Examples of com.sun.jna.platform.win32.WinNT.HRESULT.intValue()

        enableButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                HRESULT hResult;
                hResult = LibDwmApi.INSTANCE.DwmEnableComposition(LibDwmApi.DWM_EC_ENABLECOMPOSITION);
                System.out.println("DwmEnableComposition hResult=" + hResult.intValue());
                dumpStatus();
            }
        });

        disableButton = new JButton("Disable");
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.cluster.BrokerState.intValue()

     */
    public boolean isBeingTakenOver( Connection conn, String id )
        throws BrokerException {

        BrokerState brokerState = getState( conn, id );
        int state = brokerState.intValue();
        return ( state == BrokerState.I_FAILOVER_PENDING ||
                 state == BrokerState.I_FAILOVER_STARTED ||
                 state == BrokerState.I_FAILOVER_COMPLETE ||
                 state == BrokerState.I_FAILOVER_FAILED );
    }
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.impl.xs.util.XInt.intValue()

        if (child != null) {
            reportSchemaError("s4s-elt-must-match.1", new Object[]{"group (local)", "(annotation?)", DOMUtil.getLocalName(elmNode)}, elmNode);
        }

        int minOccurs = minAttr.intValue();
        int maxOccurs = maxAttr.intValue();

        XSParticleDecl particle = null;

        // not empty group, not empty particle
        if (group != null && group.fModelGroup != null &&
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.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 com.sun.org.apache.xerces.internal.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 condor.classad.Constant.intValue()

         * (RecordExpr) value; // put the right casting TBD put a // valid
         * constructor return ad; } else {
         */
        Constant co = (Constant) value;
        if (exprType == Expr.INTEGER) {
            return new Integer(co.intValue()); // Integer Value
        } else if (exprType == Expr.BOOLEAN) {
            return new Boolean(co.isTrue()); // Boolean Value
        } else if (exprType == Expr.REAL) {
            return new Double(co.realValue()); // Real Value
        } else if (exprType == Expr.STRING) {
View Full Code Here

Examples of condor.classad.Expr.intValue()

        job.setNodeNumber(1);

        expression = jobAd.lookup(Jdl.CPUNUMB);
        if (expression != null) {
            if (expression.type != Expr.INTEGER || expression.intValue() <= 0) {
                 throw new Exception("wrong value for " + Jdl.CPUNUMB + ": it must be >=1");
            }

            job.setNodeNumber(expression.intValue());
        } else {
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.