org.cvogt.scala

OptionExtensions

implicit final class OptionExtensions[T] extends AnyVal

Source
package.scala
Linear Supertypes
AnyVal, NotNull, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OptionExtensions
  2. AnyVal
  3. NotNull
  4. Any
Implicitly
  1. by AnyExtensions
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

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

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

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

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

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

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

    type-safe contains check

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

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

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

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

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

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

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

    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

    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

    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

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

    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

    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]

  21. def toString(): String

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

    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)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (optionExtensions: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (optionExtensions: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: OptionExtensions[T]

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to ArrowAssoc[OptionExtensions[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (optionExtensions: ArrowAssoc[OptionExtensions[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: OptionExtensions[T]

    Implicit information
    This member is added by an implicit conversion from OptionExtensions[T] to Ensuring[OptionExtensions[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (optionExtensions: Ensuring[OptionExtensions[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

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

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

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

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

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

Ungrouped