Package org.mapsforge.map.datastore
Enum MultiMapDataStore.DataPolicy
- java.lang.Object
-
- java.lang.Enum<MultiMapDataStore.DataPolicy>
-
- org.mapsforge.map.datastore.MultiMapDataStore.DataPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MultiMapDataStore.DataPolicy>
- Enclosing class:
- MultiMapDataStore
public static enum MultiMapDataStore.DataPolicy extends java.lang.Enum<MultiMapDataStore.DataPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEDUPLICATE
RETURN_ALL
RETURN_FIRST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiMapDataStore.DataPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MultiMapDataStore.DataPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RETURN_FIRST
public static final MultiMapDataStore.DataPolicy RETURN_FIRST
-
RETURN_ALL
public static final MultiMapDataStore.DataPolicy RETURN_ALL
-
DEDUPLICATE
public static final MultiMapDataStore.DataPolicy DEDUPLICATE
-
-
Method Detail
-
values
public static MultiMapDataStore.DataPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MultiMapDataStore.DataPolicy c : MultiMapDataStore.DataPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiMapDataStore.DataPolicy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-