Examples of Max


Examples of org.apache.tapestry5.validator.Max

    {
        configuration.add("required", new Required());
        configuration.add("minlength", new MinLength());
        configuration.add("maxlength", new MaxLength());
        configuration.add("min", new Min());
        configuration.add("max", new Max());
        configuration.add("regexp", new Regexp());
        configuration.add("email", new Email());
        configuration.add("none", new None());
    }
View Full Code Here

Examples of org.apache.tapestry5.validator.Max

    {
        configuration.add("required", new Required());
        configuration.add("minlength", new MinLength());
        configuration.add("maxlength", new MaxLength());
        configuration.add("min", new Min());
        configuration.add("max", new Max());
        configuration.add("regexp", new Regexp());
        configuration.add("email", new Email());
        configuration.add("none", new None());
    }
View Full Code Here

Examples of org.apache.tapestry5.validator.Max

    {
        configuration.add("required", new Required());
        configuration.add("minlength", new MinLength());
        configuration.add("maxlength", new MaxLength());
        configuration.add("min", new Min());
        configuration.add("max", new Max());
        configuration.add("regexp", new Regexp());
        configuration.add("email", new Email());
        configuration.add("none", new None());
    }
View Full Code Here

Examples of org.apache.torque.util.functions.Max

        returnTypes.add(Integer.class);

        summary.addAggregate("MIN_INT1", new Min(Summarize1Peer.INT_1));
        returnTypes.add(Integer.class);

        summary.addAggregate("MAX_INT1", new Max(Summarize1Peer.INT_1));
        returnTypes.add(Integer.class);

        summary.addAggregate("SUM_INT1", new Sum(Summarize1Peer.INT_1));
        returnTypes.add(Integer.class);

        summary.addAggregate("AVG_FLOAT1", new Avg(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);

        summary.addAggregate("MIN_FLOAT1", new Min(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);

        summary.addAggregate("MAX_FLOAT1", new Max(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);

        summary.addAggregate("SUM_FLOAT1", new Sum(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);
View Full Code Here

Examples of org.apache.torque.util.functions.Max

        returnTypes.add(Integer.class);

        summary.addAggregate("MIN_INT1", new Min(Summarize1Peer.INT_1));
        returnTypes.add(Integer.class);

        summary.addAggregate("MAX_INT1", new Max(Summarize1Peer.INT_1));
        returnTypes.add(Integer.class);

        summary.addAggregate("SUM_INT1", new Sum(Summarize1Peer.INT_1));
        returnTypes.add(Integer.class);

        summary.addAggregate("AVG_FLOAT1", new Avg(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);

        summary.addAggregate("MIN_FLOAT1", new Min(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);

        summary.addAggregate("MAX_FLOAT1", new Max(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);

        summary.addAggregate("SUM_FLOAT1", new Sum(Summarize1Peer.FLOAT1));
        returnTypes.add(Float.class);
View Full Code Here

Examples of org.apache.torque.util.functions.Max

     * @throws Exception if the test fails
     */
    public void testSelectMax() throws Exception
    {
        Criteria criteria = new Criteria().addSelectColumn(
                new Max(Summarize1Peer.INT_1));

        Integer max = peer.doSelectSingleRecord(criteria);

        assertEquals(new Integer(5), max);
    }
View Full Code Here

Examples of org.boris.expr.function.excel.MAX

        LOGEST l = new LOGEST();
        fail("LOGEST not implemented");
    }

    public void testMAX() throws Exception {
        MAX m = new MAX();
        assertEquals(eval(m, 10, 7, 9, 27, 2), 27.);
    }
View Full Code Here

Examples of org.elasticsearch.search.aggregations.metrics.max.Max

      .addAggregation(AggregationBuilders.max("latest")
        .field(BaseNormalizer.UPDATED_AT_FIELD));

    SearchResponse response = request.get();

    Max max = response.getAggregations().get("latest");
    if (max.getValue() > 0) {
      Date date = new DateTime(Double.valueOf(max.getValue()).longValue()).toDate();
      LOG.debug("Index {}:{} has last update of {}", this.getIndexName(), this.getIndexType(), date);
      return date;
    } else {
      LOG.debug("Index {}:{} has no last update date", this.getIndexName(), this.getIndexType());
      return null;
View Full Code Here

Examples of org.hibernate.validator.Max

            longRangeValidator.setMinimum(range.min());
            LongRangeClientValidator longRangeClientValidator = new LongRangeClientValidator();
            longRangeClientValidator.setLongRangeValidator(longRangeValidator);
            return longRangeClientValidator;
        } else if (annotationClass.equals(Max.class)) {
            Max max = (Max) annotation;
            LongRangeValidator longRangeValidator = new LongRangeValidator();
            longRangeValidator.setMaximum(max.value());
            longRangeValidator.setMinimum(Long.MIN_VALUE);
            LongRangeClientValidator longRangeClientValidator = new LongRangeClientValidator();
            longRangeClientValidator.setLongRangeValidator(longRangeValidator);
            return longRangeClientValidator;
        } else if (annotationClass.equals(Min.class)) {
View Full Code Here

Examples of org.neo4j.gis.spatial.pipes.processing.Max

    /**
     * @see Max
     */
    public GeoPipeline getMax(String property) {
      return addPipe(new Max(property));
    }
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.