Class LessThanEqualTo

Object
org.anchoranalysis.math.relation.LessThanEqualTo
All Implemented Interfaces:
DoubleBiPredicate

public class LessThanEqualTo
extends Object
implements DoubleBiPredicate
Returns true iff valueFirst is less than or equal to valueSecond.
Author:
Owen Feehan
  • Constructor Details

  • Method Details

    • test

      public boolean test​(double valueFirst, double valueSecond)
      Description copied from interface: DoubleBiPredicate
      Considers the relationship between valueFirst and valueSecond.
      Specified by:
      test in interface DoubleBiPredicate
      Parameters:
      valueFirst - the first-value.
      valueSecond - the second-value.
      Returns:
      true if the relation holds.