Class FloatPredicates.EqualsWithDeltaFloatPredicate

  • All Implemented Interfaces:
    java.io.Serializable, FloatPredicate
    Enclosing class:
    FloatPredicates

    private static final class FloatPredicates.EqualsWithDeltaFloatPredicate
    extends java.lang.Object
    implements FloatPredicate
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(float actual)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expected

        private final float expected
      • delta

        private final float delta
    • Constructor Detail

      • EqualsWithDeltaFloatPredicate

        private EqualsWithDeltaFloatPredicate​(float expected,
                                              float delta)
    • Method Detail

      • accept

        public boolean accept​(float actual)
        Specified by:
        accept in interface FloatPredicate