Enum TopXFilter.TopFilterMode
java.lang.Object
java.lang.Enum<TopXFilter.TopFilterMode>
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter.TopXFilter.TopFilterMode
- All Implemented Interfaces:
Serializable
,Comparable<TopXFilter.TopFilterMode>
,java.lang.constant.Constable
- Enclosing class:
- TopXFilter
Filter mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionKeep the top X correspondences for the larger side in the alignment.Keep the top X correspondences for the smaller side in the alignment.Keep the top X correspondences for the source.Keep the top X correspondences for the source and for the target.Keep the top X correspondences for the target. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TopXFilter.TopFilterMode
Returns the enum constant of this type with the specified name.static TopXFilter.TopFilterMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOURCE
Keep the top X correspondences for the source. -
TARGET
Keep the top X correspondences for the target. -
SOURCE_AND_TARGET
Keep the top X correspondences for the source and for the target. Note that this may lead to more than X correspondences for a single source/target element in some cases. -
SMALLEST
Keep the top X correspondences for the smaller side in the alignment. -
LARGEST
Keep the top X correspondences for the larger side in the alignment.
-
-
Constructor Details
-
TopFilterMode
private TopFilterMode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-