of

public static Matcher<T> of<T>(Predicate<T> matcher, String characteristic)(source)

Creates a Matcher with the given Characteristic

Return

the matcher

Parameters

matcher

the matcher predicate

characteristic

the characteristic of the matcher

<T>

the type of object to match


public static Matcher<T> of<T>(Predicate<T> matcher, Object object)(source)

Creates a Matcher with the given Characteristic

Return

the matcher

Parameters

matcher

the matcher predicate

object

the characteristic of the matcher. Will be stringified using the default org.tudalgo.algoutils.tutor.general.stringify.Stringifier

<T>

the type of object to match


public static Matcher<T> of<T>(Predicate<T> matcher)(source)