Examples of eq()


Examples of org.nlogo.nvm.MutableLong.value_$eq()

  public void perform(final Context context) {
    MutableLong counter = (MutableLong) context.getLet(let);
    if (counter.value() <= 0) {
      context.ip = next;
    } else {
      counter.value_$eq(counter.value() - 1);
      context.ip = offset;
    }
  }

  public void perform_1(final Context context) {
View Full Code Here

Examples of org.objectquery.QueryCondition.eq()

  public void conditionPlainAnd() {
    MockQueryBuilder tqb = new MockQueryBuilder();
    SelectQuery<Person> oq = new GenericSelectQuery<Person, Object>(tqb, Person.class);
    Person pers = oq.target();
    QueryCondition cond = oq.and();
    cond.eq(pers.getName(), "mary");
    cond.eq(pers.getDog().getName(), "mary");
    tqb.build();

    assertEquals(1, tqb.getConditionsString().size());
    assertEquals(" ( name EQUALS mary AND dog.name EQUALS mary ) ", tqb.getConditionsString().get(0));
View Full Code Here

Examples of org.openbp.server.persistence.PersistenceQuery.eq()

    PersistenceContext pc = getPersistenceContext();

    // Construct search search criterion for executable token contexts;
    // don't cache this, depends on current session.
    PersistenceQuery query = pc.createQuery(TokenContext.class);
    query.eq("lifecycleRequest", new Integer(LifecycleRequest.RESUME));
    query.neq("lifecycleState", new Integer(LifecycleState.SELECTED));
    query.addOrdering("priority");

    int max = maxResults;
    if (getIsolationLevel() == ISOLATION_LEVEL_SINGLE)
View Full Code Here

Examples of org.springframework.rules.factory.Constraints.eq()

    private void setRulesAndHibernateValidator()
    {
        Rules rules = new Rules(ValidatingObject.class);
        Constraints c = Constraints.instance();
        rules.add(c.eq("intValue", 8));
        rules.add(c.eq("stringValue", "valid"));
        DefaultRulesSource source = new DefaultRulesSource();
        source.addRules(rules);
        RulesValidator rulesValidator = new RulesValidator(model, source);
        hibernateRulesValidator = new HibernateRulesValidator(model, ValidatingObject.class);
View Full Code Here

Examples of org.sql.generation.api.grammar.factories.BooleanFactory.eq()

            // @formatter:off
            return q.simpleQueryBuilder()
                .select( SQLs.ENTITY_PK_COLUMN_NAME, SQLs.ENTITY_OPTIMISTIC_LOCK_COLUMN_NAME, SQLs.ENTITY_STATE_COLUMN_NAME )
                .from( t.tableName( this.schemaName, SQLs.TABLE_NAME ) )
                .where( b.eq( c.colName( SQLs.ENTITY_IDENTITY_COLUMN_NAME ), l.param() ) )
                .createExpression();
            // @formatter:on
        }

        protected SQLStatement createInsertEntityStatement( SQLVendor vendor )
View Full Code Here

Examples of org.vmmagic.unboxed.Address.EQ()

        System.out.println("a1 GT a2 " + a1.GT(a2) + " " + (i1 > i2));
        System.out.println("a1 GE a2 " + a1.GE(a2) + " " + (i1 >= i2));

        System.out.println("a2 LE a1 " + a2.LE(a1) + " " + (i2 <= i1));
        System.out.println("a2 LT a1 " + a2.LT(a1) + " " + (i2 < i1));
        System.out.println("a2 EQ a1 " + a2.EQ(a1) + " " + (i2 == i1));
        System.out.println("a2 NE a1 " + a2.NE(a1) + " " + (i2 != i1));
        System.out.println("a2 GT a1 " + a2.GT(a1) + " " + (i2 > i1));
        System.out.println("a2 GE a1 " + a2.GE(a1) + " " + (i2 >= i1));
    }
}
View Full Code Here

Examples of org.vmmagic.unboxed.Word.EQ()

            default:
                return false;
        }

        final Word alignedStart = pageAlign(region, start.toWord(), false);
        if (!alignedStart.EQ(start.toWord())) {
            // Make adjustments on size & physAddr
            final Word diff = start.sub(alignedStart).toWord();
            start = alignedStart.toAddress();
            size = size.add(diff);
            if (!physAddr.isMax()) {
View Full Code Here

Examples of org.zkoss.ztl.JQuery.eq()

     * @return A JQuery object of column header.
     */
    public JQuery getColumnHeader(int col) {
      if (isIE6() || isIE7()) {
        JQuery cols =  jq("div.zstopcell");
        return cols.eq(col);
      }
        return jq("div.zstopcell[z\\\\.c=\"" + col + "\"] div");
    }
   
    /**
 
View Full Code Here

Examples of scala.tools.nsc.Settings.explicitParentLoader_$eq()

        settings.classpath().value_$eq(classpath);

        // Without this class loader setting, the REPL and the target process will
        // see different instances of a static variable of the same class!
        // http://stackoverflow.com/questions/5950025/multiple-instances-of-static-variables
        settings.explicitParentLoader_$eq(Option.apply(cl));

        ILoop repl = new ILoop(
            new BufferedReader(new InputStreamReader(in)),
            new PrintWriter(out)
        );
View Full Code Here

Examples of sisc.data.Value.eq()

    EventPipeline eventPipeline = pipeline.getEventPipeline();

    // Obtain the 'type' attribute
    Value stype = assq(sargs, Symbol.get("type"));
    String type;
    if (!stype.eq(FALSE))
      type = string(pair(stype).cdr);
    else
      type = sitemap.getDefaultGeneratorType();

    // We have a normal generator.
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.