Class LessSpacePredicate

All Implemented Interfaces:
ISpacePredicate, SmartExternalizable, Externalizable, Serializable

public class LessSpacePredicate extends ComparableScalarSpacePredicate
An implementation of less than comparison: This predicate returns true if and only if the predicate's argument is less than the expected value. Comparison is performed using the compareTo method.
Since:
7.1
Author:
Niv ingberg
See Also:
  • Constructor Details

    • LessSpacePredicate

      public LessSpacePredicate()
      Default constructor for Externalizable.
    • LessSpacePredicate

      public LessSpacePredicate(Comparable<?> expectedValue)
      Creates a less predicate using the specified expected value.
      Parameters:
      expectedValue - Expected value.
    • LessSpacePredicate

      public LessSpacePredicate(Comparable<?> expectedValue, Comparator<?> comparator)
      Creates a less predicate using the specified expected value and comparator.
      Parameters:
      expectedValue - Expected value.
      comparator - Comparator to use while comparing.
  • Method Details