implicit final class EnumEntryOps[A <: EnumEntry] extends AnyVal
Helper implicit class that holds enrichment methods
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnumEntryOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EnumEntryOps(enumEntry: A)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def in(entries: Seq[A]): Boolean
Checks if the current enum value is contained by the set of enum values in the parameter list.
Checks if the current enum value is contained by the set of enum values in the parameter list.
- entries
First enum of the list.
- returns
trueif the current value is contained by the parameter list.
- def in(firstEntry: A, otherEnums: A*): Boolean
Checks if the current enum value is contained by the set of enum values in the parameter list.
Checks if the current enum value is contained by the set of enum values in the parameter list.
- firstEntry
First enum of the list.
- otherEnums
Remaining enums.
- returns
trueif the current value is contained by the parameter list.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any