public static enum VavrCollectionConverters.ToJavaConverter extends Enum<VavrCollectionConverters.ToJavaConverter> implements ConditionalGenericConverter
GenericConverter.ConvertiblePair| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object source,
TypeDescriptor sourceType,
TypeDescriptor targetType) |
Set<GenericConverter.ConvertiblePair> |
getConvertibleTypes() |
boolean |
matches(TypeDescriptor sourceType,
TypeDescriptor targetType) |
static VavrCollectionConverters.ToJavaConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VavrCollectionConverters.ToJavaConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VavrCollectionConverters.ToJavaConverter INSTANCE
public static VavrCollectionConverters.ToJavaConverter[] values()
for (VavrCollectionConverters.ToJavaConverter c : VavrCollectionConverters.ToJavaConverter.values()) System.out.println(c);
public static VavrCollectionConverters.ToJavaConverter valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@NonNull public Set<GenericConverter.ConvertiblePair> getConvertibleTypes()
getConvertibleTypes in interface GenericConverterpublic boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType)
matches in interface ConditionalConverter@Nullable public Object convert(@Nullable Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
convert in interface GenericConverterCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.