Class Present<T>

  • All Implemented Interfaces:
    Quality<java.util.Optional<T>>

    public final class Present<T>
    extends QualityComposition<java.util.Optional<T>>
    • Constructor Summary

      Constructors 
      Constructor Description
      Present()
      Matches present Optionals ith any value.
      Present​(Quality<? super T> delegate)
      Matches present Optionals with a value that matches the given matcher.
      Present​(T value)
      Matches present Optionals with a value that's equal to the given one.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Present

        public Present()
        Matches present Optionals ith any value.
      • Present

        public Present​(T value)
        Matches present Optionals with a value that's equal to the given one.
      • Present

        public Present​(Quality<? super T> delegate)
        Matches present Optionals with a value that matches the given matcher.