Class EnumMapFactory<T>
java.lang.Object
nl.jqno.equalsverifier.internal.prefabvalues.factories.AbstractGenericFactory<T>
nl.jqno.equalsverifier.internal.prefabvalues.factories.EnumMapFactory<T>
- All Implemented Interfaces:
PrefabValueFactory<T>
-
Field Summary
Fields inherited from class nl.jqno.equalsverifier.internal.prefabvalues.factories.AbstractGenericFactory
OBJECT_TYPE_TAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateValues(TypeTag tag, PrefabValues prefabValues, LinkedHashSet<TypeTag> typeStack) Creates a tuple of two prefab values.Methods inherited from class nl.jqno.equalsverifier.internal.prefabvalues.factories.AbstractGenericFactory
cloneWith, copyGenericTypesInto, determineActualTypeTagFor, determineAndCacheActualTypeTag, determineAndCacheActualTypeTag, invoke
-
Constructor Details
-
EnumMapFactory
-
-
Method Details
-
createValues
public Tuple<T> createValues(TypeTag tag, PrefabValues prefabValues, LinkedHashSet<TypeTag> typeStack) Description copied from interface:PrefabValueFactoryCreates a tuple of two prefab values.- Parameters:
tag- The typetag of the type for which to create values.prefabValues- Repository for querying instances of generic types of the type tag.typeStack- A stack ofTypeTags that require tag in order to be created. Used for recursion detection.- Returns:
- A "red" instance of
T.
-