Class Present<T>

java.lang.Object
org.saynotobugs.confidence.quality.composite.QualityComposition<org.dmfs.jems2.Optional<T>>
org.dmfs.jems2.confidence.optional.Present<T>
All Implemented Interfaces:
org.saynotobugs.confidence.Quality<org.dmfs.jems2.Optional<T>>

public final class Present<T> extends org.saynotobugs.confidence.quality.composite.QualityComposition<org.dmfs.jems2.Optional<T>>
  • Constructor Summary

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

    Methods inherited from class org.saynotobugs.confidence.quality.composite.QualityComposition

    assessmentOf, description

    Methods inherited from class java.lang.Object

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

    • 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(org.saynotobugs.confidence.Quality<? super T> delegate)
      Matches present Optionals with a value that matches the given Quality.