Examples of toBoolean()


Examples of org.eclipse.graphiti.features.IReason.toBoolean()

          getBusinessObjectForPictogramElement(
              context.getPictogramElement());
   
      //Check we have all PEs
      IReason ret = checkNoStatementsAdded(pck);
      if (!ret.toBoolean()) {
        //Check nothing has been removed
        ret = checkNoShapesRemoved();
      }

      return ret;
View Full Code Here

Examples of org.formulacompiler.compiler.internal.model.interpreter.InterpretedNumericType.toBoolean()

    final Collection<ExpressionNode> dynArgs = New.collection();
    final int n = cardinality();
    for (int i = 0; i < n; i++) {
      final TypedResult arg = evaluateArgument( i );
      if (arg.hasConstantValue()) {
        final boolean value = type.toBoolean( arg.getConstantValue() );
        if (value == _returnThisIfFound) {
          return ConstResult.valueOf( _returnThisIfFound );
        }
      }
      else {
View Full Code Here

Examples of org.luaj.vm2.LuaValue.toboolean()

      case LuaValue.TNIL:
        writer.write(LuaValue.TNIL);
        break;
      case LuaValue.TBOOLEAN:
        writer.write(LuaValue.TBOOLEAN);
        dumpChar(o.toboolean() ? 1 : 0);
        break;
      case LuaValue.TNUMBER:
        switch (NUMBER_FORMAT) {
        case NUMBER_FORMAT_FLOATS_OR_DOUBLES:
          writer.write(LuaValue.TNUMBER);
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBoolean()

      table.appendRow(0,dd);
      dd=table;
    }
    RefBoolean hasReference=new RefBooleanImpl(false);
    Struct sct = toStruct(dd,object,hasReference);
    sct.setEL("hasReference", hasReference.toBoolean());
    return sct;
  }

  private static Struct toStruct(DumpData dd, Object object, RefBoolean hasReference) {
    DumpTable table;
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBoolean()

      table.appendRow(0,dd);
      dd=table;
    }
    RefBoolean hasReference=new RefBooleanImpl(false);
    Struct sct = toStruct(dd,object,hasReference);
    sct.setEL("hasReference", hasReference.toBoolean());
    return sct;
  }

  private static Struct toStruct(DumpData dd, Object object, RefBoolean hasReference) {
    DumpTable table;
View Full Code Here

Examples of ru.tehkode.permissions.PermissionCheckResult.toBoolean()

    PermissionCheckResult res = permissionValue(permission);

    switch (res) {
      case TRUE:
      case FALSE:
        return res.toBoolean();
      case UNDEFINED:
      default:
        if (super.isPermissionSet(permission)) {
          final boolean ret = super.hasPermission(permission);
          if (isDebug()) {
View Full Code Here

Examples of ru.tehkode.permissions.PermissionCheckResult.toBoolean()

    PermissionCheckResult res = permissionValue(permission.getName());

    switch (res) {
      case TRUE:
      case FALSE:
        return res.toBoolean();
      case UNDEFINED:
      default:
        if (super.isPermissionSet(permission.getName())) {
          final boolean ret = super.hasPermission(permission);
          if (isDebug()) {
View Full Code Here

Examples of ru.tehkode.permissions.PermissionCheckResult.toBoolean()

        }
      }
      if (res == PermissionCheckResult.UNDEFINED) {
        for (Map.Entry<String, Boolean> ent : plugin.getRegexPerms().getPermissionList().getParents(permission)) {
          if ((res = permissionValue(ent.getKey())) != PermissionCheckResult.UNDEFINED) {
            res = PermissionCheckResult.fromBoolean(!(res.toBoolean() ^ ent.getValue()));
            if (isDebug()) {
              plugin.getLogger().info("User " + player.getName() + " checked for permission '" + permission + "', match from parent '" + ent.getKey() + "' (CACHE MISS)");
            }
            break;
          }
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.