Package adams.flow.transformer
Enum DeleteOverlappingImageObjects.RemovalStrategy
- java.lang.Object
-
- java.lang.Enum<DeleteOverlappingImageObjects.RemovalStrategy>
-
- adams.flow.transformer.DeleteOverlappingImageObjects.RemovalStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<DeleteOverlappingImageObjects.RemovalStrategy>
- Enclosing class:
- DeleteOverlappingImageObjects
public static enum DeleteOverlappingImageObjects.RemovalStrategy extends Enum<DeleteOverlappingImageObjects.RemovalStrategy>
Determines which object of the overlapping ones to remove.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMOVE_BOTH
REMOVE_LARGER_OBJECT
REMOVE_SMALLER_OBJECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeleteOverlappingImageObjects.RemovalStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeleteOverlappingImageObjects.RemovalStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE_SMALLER_OBJECT
public static final DeleteOverlappingImageObjects.RemovalStrategy REMOVE_SMALLER_OBJECT
-
REMOVE_LARGER_OBJECT
public static final DeleteOverlappingImageObjects.RemovalStrategy REMOVE_LARGER_OBJECT
-
REMOVE_BOTH
public static final DeleteOverlappingImageObjects.RemovalStrategy REMOVE_BOTH
-
-
Method Detail
-
values
public static DeleteOverlappingImageObjects.RemovalStrategy[] 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 (DeleteOverlappingImageObjects.RemovalStrategy c : DeleteOverlappingImageObjects.RemovalStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeleteOverlappingImageObjects.RemovalStrategy valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-