Class

org.cvogt.scala

OptionExtensions

Related Doc: package scala

Permalink

implicit final class OptionExtensions[T] extends AnyVal

Source
package.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionExtensions
  2. AnyVal
  3. Any
Implicitly
  1. by AnyExtensions
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OptionExtensions(option: Option[T])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to any2stringadd[OptionExtensions[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (OptionExtensions[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to ArrowAssoc[OptionExtensions[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def containsTyped(t: T): Boolean

    Permalink

    type-safe contains check

  8. def ensuring(cond: (OptionExtensions[T]) ⇒ Boolean, msg: ⇒ Any): OptionExtensions[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to Ensuring[OptionExtensions[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (OptionExtensions[T]) ⇒ Boolean): OptionExtensions[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to Ensuring[OptionExtensions[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): OptionExtensions[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to Ensuring[OptionExtensions[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): OptionExtensions[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to Ensuring[OptionExtensions[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to StringFormat[OptionExtensions[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  14. def getOrThrow(msg: String): T

    Permalink

    returns the value inside of the option or throws an exception with the given error message if None

  15. def in(set: Set[OptionExtensions[T]]): Boolean

    Permalink

    Tests whether the given set contains this value as an element

    Tests whether the given set contains this value as an element

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to AnyExtensions[OptionExtensions[T]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  16. def in(seq: Seq[OptionExtensions[T]]): Boolean

    Permalink

    Tests whether the given sequence contains this value as an element

    Tests whether the given sequence contains this value as an element

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to AnyExtensions[OptionExtensions[T]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def notIn(set: Set[OptionExtensions[T]]): Boolean

    Permalink

    Tests whether the given set does NOT contains this value as an element

    Tests whether the given set does NOT contains this value as an element

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to AnyExtensions[OptionExtensions[T]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  19. def notIn(seq: Seq[OptionExtensions[T]]): Boolean

    Permalink

    Tests whether the given sequence does NOT contains this value as an element

    Tests whether the given sequence does NOT contains this value as an element

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to AnyExtensions[OptionExtensions[T]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  20. val option: Option[T]

    Permalink
  21. def toString(): String

    Permalink
    Definition Classes
    Any
  22. val value: OptionExtensions[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to AnyExtensions[OptionExtensions[T]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  23. def [B](y: B): (OptionExtensions[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to ArrowAssoc[OptionExtensions[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AnyExtensions from OptionExtensions[T] to AnyExtensions[OptionExtensions[T]]

Inherited by implicit conversion any2stringadd from OptionExtensions[T] to any2stringadd[OptionExtensions[T]]

Inherited by implicit conversion StringFormat from OptionExtensions[T] to StringFormat[OptionExtensions[T]]

Inherited by implicit conversion Ensuring from OptionExtensions[T] to Ensuring[OptionExtensions[T]]

Inherited by implicit conversion ArrowAssoc from OptionExtensions[T] to ArrowAssoc[OptionExtensions[T]]

Ungrouped