Class OptionMatchers


  • public final class OptionMatchers
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private OptionMatchers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <L> org.hamcrest.Matcher<Option<?>> isNone()  
      static <T> org.hamcrest.Matcher<Option<T>> isSome​(org.hamcrest.Matcher<? super T> subMatcher)  
      • Methods inherited from class java.lang.Object

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

      • OptionMatchers

        private OptionMatchers()
    • Method Detail

      • isNone

        public static <L> org.hamcrest.Matcher<Option<?>> isNone()
      • isSome

        public static <T> org.hamcrest.Matcher<Option<T>> isSome​(org.hamcrest.Matcher<? super T> subMatcher)