public class CaptureNullableMatcher<T> implements Matcher<T>, CapturingMatcher, TypedMatcher, EquivalentMatcher
Matcher capturing all results to the list. Allows nulls
Matcher.DefaultImplsTypedMatcher.DefaultImpls| Constructor and Description |
|---|
CaptureNullableMatcher(java.util.List<T> captureList,
kotlin.reflect.KClass<?> argumentType)
Matcher capturing all results to the list. Allows nulls
|
| Modifier and Type | Method and Description |
|---|---|
void |
capture(java.lang.Object arg) |
java.util.List<T> |
component1() |
kotlin.reflect.KClass<?> |
component2() |
CaptureNullableMatcher<T> |
copy(java.util.List<T> captureList,
kotlin.reflect.KClass<?> argumentType)
Matcher capturing all results to the list. Allows nulls
|
boolean |
equals(java.lang.Object p) |
Matcher<java.lang.Object> |
equivalent() |
kotlin.reflect.KClass<?> |
getArgumentType() |
java.util.List<T> |
getCaptureList() |
int |
hashCode() |
boolean |
match(T arg) |
java.lang.String |
toString() |
match, substitutecapturecheckType, getArgumentTypeequivalentpublic CaptureNullableMatcher(java.util.List<T> captureList,
kotlin.reflect.KClass<?> argumentType)
Matcher capturing all results to the list. Allows nulls
public Matcher<java.lang.Object> equivalent()
public void capture(java.lang.Object arg)
public boolean match(T arg)
public java.lang.String toString()
public java.util.List<T> getCaptureList()
public kotlin.reflect.KClass<?> getArgumentType()
public java.util.List<T> component1()
public kotlin.reflect.KClass<?> component2()
public CaptureNullableMatcher<T> copy(java.util.List<T> captureList, kotlin.reflect.KClass<?> argumentType)
Matcher capturing all results to the list. Allows nulls
public int hashCode()
public boolean equals(java.lang.Object p)