public final class CompositeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
descriptionOf(Matcher<?> matcher)
Returns a description of the given Matcher.
|
static String |
mismatchFor(Matcher<?> matcher,
Object object)
Returns a description of the mismatch reported by the given Matcher for the given object.
|
static <T> Stream<T> |
streamFor(Iterable<T> iterable)
Returns a Stream that traverses the members of the given Iterable.
|
static <T> T[] |
toArray(Iterable<T> iterable)
Returns an array that contains the members of the given Iterable.
|
public static <T> Stream<T> streamFor(Iterable<T> iterable)
public static <T> T[] toArray(Iterable<T> iterable)
public static String mismatchFor(Matcher<?> matcher, Object object)
Copyright © 2022 The Cornutum Project. All rights reserved.