Examples of eq()


Examples of com.caucho.quercus.env.Value.eq()

          break;

        Value searchValue = ((ArrayValue) arrays[k]).containsKey(entryKey);

        if (searchValue != null)
          valueFound = searchValue.eq(entryValue);
        else
          valueFound = false;
      }

      if (valueFound)
View Full Code Here

Examples of com.google.gwt.query.client.GQuery.eq()

    assertEquals("third", third.attr("id"));

    //test nth-child with function
    GQuery secondAndFourth = $("#parent > div",e).filter(":nth-child(2n)");
    assertEquals(2, secondAndFourth.size());
    assertEquals("second", secondAndFourth.eq(0).attr("id"));
    assertEquals("fourth", secondAndFourth.eq(1).attr("id"));

    // odd and even with attribute filters
    secondAndFourth = $("div[role=treeItem]:odd", e);
    assertEquals("second", secondAndFourth.eq(0).attr("id"));
View Full Code Here

Examples of com.googlecode.sonic.util.CustomQuery.eq()

   */
  @SuppressWarnings("unchecked")
  protected List<Entity> selectAll() throws ServiceException {
    try {
      CustomQuery customQuery = new CustomQuery(kindOfEntity);
      return (List<Entity>) customQuery.eq(DELETED, false)
          .desc(CREATE_DATE).asList();
    } catch (Exception e) {
      throw new ServiceException(e);
    }
  }
View Full Code Here

Examples of com.j256.ormlite.stmt.Where.eq()

        return this;
    }

    public void buildQuery(QueryBuilder qb) throws SQLException {
        Where where = qb.where();
        where.eq("nightCard", false);
        where.eq("splitCardHalf", false);
        int clausesCount = 2;
        if (name != null) {
            where.like("name", new SelectArg('%' + name + '%'));
            clausesCount++;
View Full Code Here

Examples of com.jengine.orm.model.field.Field.eq()

    public Object getValue(Model obj) throws DBException {
        ModelClassBase middleCls = getMiddleClass();
        Field middleField = getMiddleField();
        Object keyValue = obj.getData().get(getKeyFieldName());
        return middleCls.filter(middleField.eq(keyValue)).target(middleField);
    }

    public void createMiddleClass() throws DBException {
        ModelClassBase referenceModelClass = getReferenceClass();
        ModelClassBase middleModelClass = getMiddleClass();
View Full Code Here

Examples of com.mockturtlesolutions.snifflib.datatypes.DblMatrix.eq()

        this.prop.setMixingParam(pname,new DblMatrix(0.001));
      }
      else
      {
        DblMatrix VALUE = DblMatrix.abs(like.getParam(pname));
        if (DblMatrix.test(VALUE.eq(0.0)))
        {
          VALUE = new DblMatrix(0.000001);
        }
        else
        VALUE = VALUE.times(0.000001);
View Full Code Here

Examples of com.mysema.query.types.path.BooleanPath.eq()

                            } else if (filter instanceof Number) {
                                NumberPath path = createNumberPath(entityPath, key, filter);
                                predicate = and(predicate, path.eq(filter));
                            } else if (filter instanceof Boolean) {
                                BooleanPath path = entityPath.getBoolean(key);
                                predicate = and(predicate, path.eq((Boolean) filter));
                            } else if (filter instanceof Enum) {
                                EnumPath path = entityPath.getEnum(key, Enum.class);
                                predicate = and(predicate, path.eq(filter));
                            } else if (BaseEntity.class.isAssignableFrom(filter.getClass())) {
                                PathBuilder path = entityPath.get(key);
View Full Code Here

Examples of com.mysema.query.types.path.DatePath.eq()

                                StringPath path = entityPath.getString(key);
                                String filterString = (String) filter;
                                predicate = and(predicate, path.startsWithIgnoreCase(filterString));
                            } else if (filter instanceof Date) {
                                DatePath path = entityPath.getDate(key, Date.class);
                                predicate = and(predicate, path.eq(filter));
                            } else if (filter instanceof Number) {
                                NumberPath path = createNumberPath(entityPath, key, filter);
                                predicate = and(predicate, path.eq(filter));
                            } else if (filter instanceof Boolean) {
                                BooleanPath path = entityPath.getBoolean(key);
View Full Code Here

Examples of com.mysema.query.types.path.EnumPath.eq()

                            } else if (filter instanceof Boolean) {
                                BooleanPath path = entityPath.getBoolean(key);
                                predicate = and(predicate, path.eq((Boolean) filter));
                            } else if (filter instanceof Enum) {
                                EnumPath path = entityPath.getEnum(key, Enum.class);
                                predicate = and(predicate, path.eq(filter));
                            } else if (BaseEntity.class.isAssignableFrom(filter.getClass())) {
                                PathBuilder path = entityPath.get(key);
                                predicate = and(predicate, path.eq(filter));
                            }
                        }
View Full Code Here

Examples of com.mysema.query.types.path.ListPath.eq()

                                StringPath path = entityPath.getString(key);
                                String filterString = (String) filter;
                                predicate = and(predicate, path.startsWithIgnoreCase(filterString));
                            } else if (filter instanceof Date) {
                                DatePath path = entityPath.getDate(key, Date.class);
                                predicate = and(predicate, path.eq(filter));
                            } else if (filter instanceof Number) {
                                NumberPath path = createNumberPath(entityPath, key, filter);
                                predicate = and(predicate, path.eq(filter));
                            } else if (filter instanceof Boolean) {
                                BooleanPath path = entityPath.getBoolean(key);
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.