public final class Arg<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Show<Arg<?>> |
argShow
The rendering of an argument (uses
Object.toString() for the argument value). |
Modifier and Type | Method and Description |
---|---|
static <T> Arg<T> |
arg(T value,
int shrinks)
Construct a property argument with the given value and number of shrinks.
|
int |
shrinks()
Returns the argument's number of shrinks following falsification.
|
java.lang.Object |
value()
Returns the argument's value.
|
public static <T> Arg<T> arg(T value, int shrinks)
value
- The value to construct an argument with.shrinks
- The number of shrinks to construct an argument with.public java.lang.Object value()
public int shrinks()