@API(status=EXPERIMENTAL, since="1.3.0") public interface EdgeCases<T> extends java.lang.Iterable<Shrinkable<T>>
Modifier and Type | Interface and Description |
---|---|
static interface |
EdgeCases.Config<T> |
static class |
EdgeCases.EdgeCasesFacade |
Modifier and Type | Method and Description |
---|---|
static <T> EdgeCases<T> |
fromSupplier(java.util.function.Supplier<Shrinkable<T>> supplier) |
static <T> EdgeCases<T> |
fromSuppliers(java.util.List<java.util.function.Supplier<Shrinkable<T>>> suppliers) |
default boolean |
isEmpty() |
default java.util.Iterator<Shrinkable<T>> |
iterator() |
static <T> EdgeCases<T> |
none() |
default int |
size() |
java.util.List<java.util.function.Supplier<Shrinkable<T>>> |
suppliers() |
java.util.List<java.util.function.Supplier<Shrinkable<T>>> suppliers()
default int size()
default boolean isEmpty()
default java.util.Iterator<Shrinkable<T>> iterator()
iterator
in interface java.lang.Iterable<Shrinkable<T>>
@API(status=INTERNAL) static <T> EdgeCases<T> fromSuppliers(java.util.List<java.util.function.Supplier<Shrinkable<T>>> suppliers)
@API(status=INTERNAL) static <T> EdgeCases<T> none()
@API(status=INTERNAL) static <T> EdgeCases<T> fromSupplier(java.util.function.Supplier<Shrinkable<T>> supplier)