Class Nothing<T>

java.lang.Object
org.dmfs.jems2.predicate.Nothing<T>
All Implemented Interfaces:
Predicate<T>

public final class Nothing<T> extends Object implements Predicate<T>
A trivial Predicate which never matches.
  • Constructor Details

    • Nothing

      public Nothing()
  • Method Details

    • satisfiedBy

      public boolean satisfiedBy(T testedInstance)
      Description copied from interface: Predicate
      Returns whether the given instance satisfies this predicate.
      Specified by:
      satisfiedBy in interface Predicate<T>