Examples of booleanValue()


Examples of org.robovm.cocoatouch.foundation.NSNumber.booleanValue()

  @Override
  public boolean getBoolean (String key) {
    NSNumber value = (NSNumber)nsDictionary.get(convertKey(key));
    if (value == null) return false;
    return value.booleanValue();
  }

  @Override
  public int getInteger (String key) {
    NSNumber value = (NSNumber)nsDictionary.get(convertKey(key));
View Full Code Here

Examples of org.voltdb.client.exampleutils.AppHelper.booleanValue()

            ;

            config = new ConnectionConfig(apph);

            // Retrieve parameters
            final boolean catalogSwap  = apph.booleanValue("catalogswap");
            final String csv           = apph.stringValue("statsfile");

            TxnIdWriter writer = new TxnIdWriter("dude", "clientlog");

            // Validate parameters
View Full Code Here

Examples of ptolemy.data.BooleanToken.booleanValue()

        super.fire();
        $ASSIGN$_latestSum(_sum);
        for (int i = 0; i < reset.getWidth(); i++) {
            if (reset.hasToken(i)) {
                BooleanToken r = (BooleanToken)reset.get(i);
                if (r.booleanValue()) {
                    $ASSIGN$_latestSum(output.getType().convert(init.getToken()));
                }
            }
        }
        for (int i = 0; i < input.getWidth(); i++) {
View Full Code Here

Examples of ptolemy.data.Token.booleanValue()

            Token t = ((Variable) attribute).getToken();
            return ((BooleanToken) t).booleanValue();
        } else if (attribute instanceof Settable) {
            BooleanToken t = new BooleanToken(((Settable) attribute)
                    .getExpression());
            return t.booleanValue();
        } else {
            throw new IllegalActionException(this,
                    "The specified model does not have an evaluatedValue parameter.");
        }
    }
View Full Code Here

Examples of sos.util.string2bool.SOSBooleanExpression.booleanValue()

      }
      if (normalizedBoolExpr.length() == 0) {
       return true;
      }else {
              boolExpr = SOSBooleanExpression.readLeftToRight(normalizedBoolExpr);
           return boolExpr.booleanValue();
      }
      } catch (SOSMalformedBooleanException e) {
          System.out.println("--->"+boolExp);
          e.printStackTrace();
        return false;
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.