Uses of Interface
org.instancio.TypeTokenSupplier
Packages that use TypeTokenSupplier
-
Uses of TypeTokenSupplier in org.instancio
Subinterfaces of TypeTokenSupplier in org.instancioModifier and TypeInterfaceDescriptioninterfaceTypeToken<T>A supplier that providesTypeinformation.Methods in org.instancio with parameters of type TypeTokenSupplierModifier and TypeMethodDescriptionstatic <T> TInstancio.create(TypeTokenSupplier<T> typeToken) Creates an object of type specified by the type token.static <T> InstancioApi<T> Instancio.of(TypeTokenSupplier<T> typeToken) Builder version ofInstancio.create(TypeTokenSupplier)that allows customisation of generated values.static <T> CartesianProductApi<T> Instancio.ofCartesianProduct(TypeTokenSupplier<T> typeToken) Generates the Cartesian product based on the values specified via thewith()method.static <T> InstancioOfCollectionApi<List<T>> Instancio.ofList(TypeTokenSupplier<T> elementTypeToken) Builder API for generating aListusing a type token.static <K,V> InstancioOfCollectionApi <Map<K, V>> Instancio.ofMap(TypeTokenSupplier<K> keyTypeToken, TypeTokenSupplier<V> valueTypeToken) Builder API for generating aMapusing type tokens.static <T> InstancioOfCollectionApi<Set<T>> Instancio.ofSet(TypeTokenSupplier<T> elementTypeToken) Builder API for generating aSetusing a type token.static <T> Stream<T> Instancio.stream(TypeTokenSupplier<T> typeToken) Creates an infinite stream of objects of type specified by the type token.