match

public static Match<T> match<T>(T object, boolean positive)(source)

Returns a simple match with the given object and binary state.

Return

the match

Parameters

object

the object

positive

if the match is positive

<T>

the type of the object