- Type Parameters:
E- The enum type.
Specialization of AbstractEnumMask dedicated to non nullable standard enums masks.
This class must not (and can not) be specialized to work correctly.
If specialization is needed, use AbstractEnumMask directly.
- Author:
- Damien Carbonne
-
Nested Class Summary
Nested classes/interfaces inherited from class cdc.enums.AbstractMask
AbstractMask.Creator<M extends Mask<M,V>, V> -
Field Summary
Fields inherited from class cdc.enums.AbstractMask
support, values -
Method Summary
Modifier and TypeMethodDescriptionReturns the empty mask corresponding to an enum.Returns the full mask corresponding to an enum.static <E extends Enum<E>>
MaskSupport<EnumMask<E>,E> Returns the support associated to an enum class.
-
Method Details
-
support
Returns the support associated to an enum class.- Type Parameters:
E- The enum type.- Parameters:
enumClass- The enum class.- Returns:
- The support for
EnumMask<E>.
-
getEnumClasses
- Returns:
- A set of enums for which a support has been created.
-
empty
Returns the empty mask corresponding to an enum.- Type Parameters:
E- The enum type.- Parameters:
enumClass- The enum class.- Returns:
- The empty
EnumMask<E>.
-
full
Returns the full mask corresponding to an enum.- Type Parameters:
E- The enum type.- Parameters:
enumClass- The enum class.- Returns:
- The full
EnumMask<E>.
-