public enum PropertyTypeConverter extends Enum<PropertyTypeConverter> implements TypeConverter
TypeConverter implementations to
 convert strings to all common basic Java types.| Enum Constant and Description | 
|---|
| BOOLEANTypeConverterto convert an input string to an output boolean | 
| DOUBLETypeConverterto convert an input string to an output double | 
| FLOATTypeConverterto convert an input string to an output float | 
| INTEGERTypeConverterto convert an input string to an output int | 
| LONGTypeConverterto convert an input string to an output long | 
| SHORTTypeConverterto convert an input string to an output short | 
| STRINGTypeConverterthat bypasses a string | 
| Modifier and Type | Method and Description | 
|---|---|
| static PropertyTypeConverter | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PropertyTypeConverter[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfconvertpublic static final PropertyTypeConverter STRING
TypeConverter that bypasses a stringpublic static final PropertyTypeConverter SHORT
TypeConverter to convert an input string to an output shortpublic static final PropertyTypeConverter INTEGER
TypeConverter to convert an input string to an output intpublic static final PropertyTypeConverter LONG
TypeConverter to convert an input string to an output longpublic static final PropertyTypeConverter FLOAT
TypeConverter to convert an input string to an output floatpublic static final PropertyTypeConverter DOUBLE
TypeConverter to convert an input string to an output doublepublic static final PropertyTypeConverter BOOLEAN
TypeConverter to convert an input string to an output booleanpublic static PropertyTypeConverter[] values()
for (PropertyTypeConverter c : PropertyTypeConverter.values()) System.out.println(c);
public static PropertyTypeConverter 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 nullCopyright © 2020 Hazelcast, Inc.. All rights reserved.