Package jasima.core.util
Class ComponentStates
- java.lang.Object
-
- jasima.core.util.ComponentStates
-
public final class ComponentStates extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E extends Enum<E>>
ErequireAllowedState(E state, E allowed1)static <E extends Enum<E>>
ErequireAllowedState(E state, E allowed1, E allowed2)static <E extends Enum<E>>
ErequireAllowedState(E state, E allowed1, E... allowedOther)static <E extends Enum<E>>
ErequireAllowedState(E state, E allowed1, E allowed2, E allowed3)static <E extends Enum<E>>
ErequireAllowedState(E state, Set<E> allowedStates)
-
-
-
Method Detail
-
requireAllowedState
public static <E extends Enum<E>> E requireAllowedState(E state, E allowed1)
-
requireAllowedState
public static <E extends Enum<E>> E requireAllowedState(E state, E allowed1, E allowed2)
-
requireAllowedState
public static <E extends Enum<E>> E requireAllowedState(E state, E allowed1, E allowed2, E allowed3)
-
requireAllowedState
@SafeVarargs public static <E extends Enum<E>> E requireAllowedState(E state, E allowed1, E... allowedOther)
-
-