Uses of Interface
nl.jqno.equalsverifier.internal.prefabvalues.factories.PrefabValueFactory
-
Packages that use PrefabValueFactory Package Description nl.jqno.equalsverifier.internal.prefabvalues nl.jqno.equalsverifier.internal.prefabvalues.factories nl.jqno.equalsverifier.internal.util -
-
Uses of PrefabValueFactory in nl.jqno.equalsverifier.internal.prefabvalues
Methods in nl.jqno.equalsverifier.internal.prefabvalues that return PrefabValueFactory Modifier and Type Method Description <T> PrefabValueFactory<T>
FactoryCache. get(java.lang.Class<T> type)
Retrieves the factory from the cache for the given type.Methods in nl.jqno.equalsverifier.internal.prefabvalues that return types with arguments of type PrefabValueFactory Modifier and Type Method Description java.util.Iterator<java.util.Map.Entry<java.lang.String,PrefabValueFactory<?>>>
FactoryCache. iterator()
Provides an iterator over all available factories.Methods in nl.jqno.equalsverifier.internal.prefabvalues with parameters of type PrefabValueFactory Modifier and Type Method Description <T> void
FactoryCache. put(java.lang.Class<?> type, PrefabValueFactory<T> factory)
Adds the given factory to the cache and associates it with the given type.<T> void
FactoryCache. put(java.lang.String typeName, PrefabValueFactory<T> factory)
Adds the given factory to the cache and associates it with the given type name. -
Uses of PrefabValueFactory in nl.jqno.equalsverifier.internal.prefabvalues.factories
Classes in nl.jqno.equalsverifier.internal.prefabvalues.factories that implement PrefabValueFactory Modifier and Type Class Description class
AbstractGenericFactory<T>
Abstract implementation ofPrefabValueFactory
that provides helper functions for dealing with generics.class
CopyFactory<T,S>
class
EnumMapFactory<T>
class
EnumSetFactory<T>
Implementation ofPrefabValueFactory
that instantiates EnumSets using reflection, while taking generics into account.class
ExternalFactory<T>
class
FallbackFactory<T>
Implementation ofPrefabValueFactory
that instantiates types "by force".class
MapFactory<T extends java.util.Map>
Implementation ofPrefabValueFactory
that specializes in creating implementations ofMap
, taking generics into account.class
SimpleFactory<T>
Implementation ofPrefabValueFactory
that holds on to two instances that have already been created.class
SimpleGenericFactory<T>
Methods in nl.jqno.equalsverifier.internal.prefabvalues.factories that return PrefabValueFactory Modifier and Type Method Description static <A,T extends java.util.Collection<A>>
PrefabValueFactory<T>Factories. collection(java.util.function.Supplier<T> emptyFactory)
static <T,S>
PrefabValueFactory<T>Factories. copy(java.lang.Class<S> source, java.util.function.Function<S,T> copy)
static <K,V,T extends java.util.Map<K,V>>
PrefabValueFactory<T>Factories. map(java.util.function.Supplier<T> emptyFactory)
static <A,T>
PrefabValueFactory<T>Factories. simple(Func.Func1<A,T> factory, java.util.function.Supplier<T> emptyFactory)
static <A,B,T>
PrefabValueFactory<T>Factories. simple(Func.Func2<A,B,T> factory, java.util.function.Supplier<T> emptyFactory)
static <T> PrefabValueFactory<T>
Factories. values(T red, T black, T redCopy)
-
Uses of PrefabValueFactory in nl.jqno.equalsverifier.internal.util
Methods in nl.jqno.equalsverifier.internal.util with parameters of type PrefabValueFactory Modifier and Type Method Description static <T> void
Validations. validateGenericPrefabValues(java.lang.Class<T> type, PrefabValueFactory<T> factory, int arity)
-