orElse

public Stringifier orElse(Stringifier stringifier)(source)

Returns a new stringifier using the given stringifier as an alternative to the current stringifier if the current stringifier cannot create a string representation.

Return

the new stringifier using the given stringifier as an alternative to the current stringifier

Parameters

stringifier

the stringifier to use as an alternative to the current stringifier