Package org.springframework.data.util
Enum Class VavrCollectionConverters.ToJavaConverter
java.lang.Object
java.lang.Enum<VavrCollectionConverters.ToJavaConverter>
org.springframework.data.util.VavrCollectionConverters.ToJavaConverter
- All Implemented Interfaces:
Serializable
,Comparable<VavrCollectionConverters.ToJavaConverter>
,Constable
,ConditionalConverter
,ConditionalGenericConverter
,GenericConverter
- Enclosing class:
- VavrCollectionConverters
public static enum VavrCollectionConverters.ToJavaConverter
extends Enum<VavrCollectionConverters.ToJavaConverter>
implements ConditionalGenericConverter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter
GenericConverter.ConvertiblePair
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) boolean
matches
(TypeDescriptor sourceType, TypeDescriptor targetType) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getConvertibleTypes
- Specified by:
getConvertibleTypes
in interfaceGenericConverter
-
matches
- Specified by:
matches
in interfaceConditionalConverter
-
convert
@Nullable public Object convert(@Nullable Object source, TypeDescriptor sourceType, TypeDescriptor targetType) - Specified by:
convert
in interfaceGenericConverter
-