Uses of Class
com.luchersol.core.specialized_checkers.CheckerEnum
Packages that use CheckerEnum
Package
Description
Specialized checker implementations for various data types and structures.
-
Uses of CheckerEnum in com.luchersol.core.specialized_checkers
Subclasses with type arguments of type CheckerEnum in com.luchersol.core.specialized_checkersModifier and TypeClassDescriptionclassCheckerEnum<T extends Enum<T>>A specialized checker forEnuminstances, providing a fluent API to assert enum properties such as equality, name, ordinal, inclusion, ordering and reflective attributes.Methods in com.luchersol.core.specialized_checkers that return CheckerEnumModifier and TypeMethodDescriptionstatic <T extends Enum<T>>
CheckerEnum<T> CheckerEnum.check(T enumerate) Creates a new CheckerEnum instance with a default name.static <T extends Enum<T>>
CheckerEnum<T> Creates a new CheckerEnum instance for the given enum and name.Checks if enum name matches the expected name.CheckerEnum.hasOrdinal(int ordinal) Checks if enum ordinal matches the expected value.CheckerEnum.hasProperty(String fieldName, Object expected) Checks enum internal property using reflection.Checks if enum appears after another enum.Checks if enum appears before another enum.Checks if the enum equals the expected value.CheckerEnum.isIn(Collection<T> values) Checks inclusion against a collection.Checks inclusion against a collection.final CheckerEnum<T> Checks if the enum belongs to the specified values.CheckerEnum.isNotEqual(T value) Checks if the enum is different from the given value.final CheckerEnum<T> CheckerEnum.isNotIn(Collection<T> values) Checks if the enum does NOT belong to the specified values.final CheckerEnum<T> Checks if the enum does NOT belong to the specified values.final CheckerEnum<T> Checks if the enum does NOT belong to the specified values.CheckerEnum.isSameType(Enum<?> other) Checks if enums belong to the same declaring type.CheckerEnum.ordinalGreaterThan(int ordinal) Checks if ordinal is greater than specified value.CheckerEnum.ordinalLessThan(int ordinal) Checks if ordinal is less than specified value.protected CheckerEnum<T> CheckerEnum.self()Returns this instance (for fluent API usage).