org.powerscala.enum

Enumerated

trait Enumerated[E <: EnumEntry] extends AnyRef

Enumerated represents the companion object for EnumEntry instances.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Enumerated
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +=(enum: E): Unit

    Attributes
    protected[org.powerscala.enum]
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def apply(index: Int): E

    Retrieve the EnumEntry by index.

    Retrieve the EnumEntry by index.

    index

    of the EnumEntry.

    returns

    EnumEntry or IndexOutOfBoundsException

  8. def apply(name: String, caseSensitive: Boolean): E

    Retrieve the EnumEntry by name.

    Retrieve the EnumEntry by name.

    name

    the name of the EnumEntry as defined by the field.

    caseSensitive

    defines whether the lookup should be case-sensitive. Defaults to false.

    returns

    EnumEntry or null if not found

  9. def apply(name: String): E

    Retrieve the EnumEntry by name with a case-insensitive lookup.

    Retrieve the EnumEntry by name with a case-insensitive lookup.

    name

    to find the enum by.

    returns

    EnumEntry or null if not found

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def enumName(enum: EnumEntry): String

    Attributes
    protected[org.powerscala.enum]
  13. def enumOrdinal(enum: EnumEntry): Int

    Attributes
    protected[org.powerscala.enum]
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def get(name: String): Option[E]

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. lazy val length: Int

  22. lazy val name: String

    The name of this Enumerated.

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def random: E

    Retrieves a random enum.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. implicit val thisEnumerated: Enumerated[EnumEntry]

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def unapply(s: String): Option[E]

  31. lazy val values: List[E]

  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped