Package org.openrdf.query.algebra

Examples of org.openrdf.query.algebra.Max


      }

      return new LiteralImpl(Double.toString(min), XMLSchema.DOUBLE);
    }
    else if (operator instanceof Max) {
      Max maxOp = (Max)operator;

      Set<Value> values = makeValueSet(strategy, maxOp.getArg(), bindingSets);

      // FIXME: handle case where 'values' is empty
      double max = Double.NEGATIVE_INFINITY;
      for (Value v : values) {
        if (v instanceof Literal) {
View Full Code Here


      }

      return new LiteralImpl(Double.toString(min), XMLSchema.DOUBLE);
    }
    else if (operator instanceof Max) {
      Max maxOp = (Max)operator;

      Set<Value> values = makeValueSet(maxOp.getArg(), bindingSets);

      // FIXME: handle case where 'values' is empty
      double max = Double.NEGATIVE_INFINITY;
      for (Value v : values) {
        if (v instanceof Literal) {
View Full Code Here

TOP

Related Classes of org.openrdf.query.algebra.Max

Copyright © 2018 www.massapicom. 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.