Skip navigation links
C H I O 

C

com.github.npathai.hamcrestopt - package com.github.npathai.hamcrestopt
 

H

hasValue(T) - Static method in class com.github.npathai.hamcrestopt.OptionalMatchers
Creates a matcher that matches when the examined Optional contains a value that is logically equal to the operand, as determined by calling the equals method on the value.
hasValue(Matcher<? super T>) - Static method in class com.github.npathai.hamcrestopt.OptionalMatchers
Creates a matcher that matches when the examined Optional contains a value that satisfies the specified matcher.

I

isEmpty() - Static method in class com.github.npathai.hamcrestopt.OptionalMatchers
Creates a matcher that matches when the examined Optional contains no value.
isPresent() - Static method in class com.github.npathai.hamcrestopt.OptionalMatchers
Creates a matcher that matches when the examined Optional contains a value.

O

OptionalMatchers - Class in com.github.npathai.hamcrestopt
Provides a set of Hamcrest matchers for java.util.Optional: isEmpty() - matches when the examined Optional contains no value. isPresent() - matches when the examined Optional contains a value. hasValue(Object) - matches when the examined Optional contains a value that is logically equal to the operand. hasValue(Matcher) - matches when the examined Optional contains a value that satisfies the specified matcher.
C H I O 
Skip navigation links

Copyright © 2015–2016. All rights reserved.