Companion

object Companion

Functions

Link copied to clipboard

Create empty NumberEncodeValueMatcher.

----------------

Create a new NumberEncodeValueMatcher from the specified Number.

----------------

Link copied to clipboard

Create a new NumberEncodeValueMatcher from the specified Byte.

----------------

Link copied to clipboard

Create a new NumberEncodeValueMatcher from the specified Double. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

Link copied to clipboard

Create a new NumberEncodeValueMatcher from the specified Float. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

Link copied to clipboard

Create a new NumberEncodeValueMatcher from the specified Int.

----------------

Link copied to clipboard

Create a new NumberEncodeValueMatcher from the specified Long.

----------------

Link copied to clipboard

Create a new NumberEncodeValueMatcher from the specified Short.

----------------