Package net.jqwik.api
Interface EdgeCases<T>
-
- All Superinterfaces:
java.lang.Iterable<Shrinkable<T>>
@API(status=EXPERIMENTAL, since="1.3.0") public interface EdgeCases<T> extends java.lang.Iterable<Shrinkable<T>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EdgeCases.Config<T>
static class
EdgeCases.EdgeCasesFacade
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
suppliers
java.util.List<java.util.function.Supplier<Shrinkable<T>>> suppliers()
-
size
default int size()
-
isEmpty
default boolean isEmpty()
-
iterator
default java.util.Iterator<Shrinkable<T>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<T>
-
fromSuppliers
@API(status=INTERNAL) static <T> EdgeCases<T> fromSuppliers(java.util.List<java.util.function.Supplier<Shrinkable<T>>> suppliers)
-
none
@API(status=INTERNAL) static <T> EdgeCases<T> none()
-
fromSupplier
@API(status=INTERNAL) static <T> EdgeCases<T> fromSupplier(java.util.function.Supplier<Shrinkable<T>> supplier)
-
-