java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.Estimate<T>
All Implemented Interfaces:
Serializable

public class Estimate<T> extends Object implements Serializable
An estimated value with a flag that indicates whether it's exact.
See Also:
  • Constructor Details

    • Estimate

      public Estimate(T value, boolean isExact)
  • Method Details

    • isExact

      public boolean isExact()
    • getValue

      public T getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object