final case class Some[A](v: A) extends Option[A] with Product with Serializable
Class Some[A]
represents existing values of type
A
.
- Source
- JavaAPI.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Some
- Serializable
- Product
- Equals
- Option
- Iterable
- AnyRef
- Any
Implicitly
- by java2ScalaOption
- by java2ScalaOption
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Some(v: A)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Some[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala: scala.Some[A]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def contains[A1 >: A](elem: A1): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- final def contains[A1 >: A](elem: A1): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- def ensuring(cond: (Some[A]) => Boolean, msg: => Any): Some[A]
- def ensuring(cond: (Some[A]) => Boolean): Some[A]
- def ensuring(cond: Boolean, msg: => Any): Some[A]
- def ensuring(cond: Boolean): Some[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def forEach(arg0: Consumer[_ >: A <: AnyRef]): Unit
- Definition Classes
- Iterable
- def get: A
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getOrElse[B >: A](defaultValue: B): B
Returns
a
if this issome(a)
ordefaultValue
if this isnone
. - def isDefined: Boolean
- Definition Classes
- Option
- def isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator(): Iterator[A]
- Definition Classes
- Option → Iterable
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def orElse[B >: A](alternative: => scala.Option[B]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- Annotations
- @inline()
- final def orElse[B >: A](alternative: => scala.Option[B]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- Annotations
- @inline()
- final def orNull[A1 >: A](implicit ev: <:<[Null, A1]): A1
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- Annotations
- @inline()
- final def orNull[A1 >: A](implicit ev: <:<[Null, A1]): A1
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- Annotations
- @inline()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def spliterator(): Spliterator[A]
- Definition Classes
- Iterable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val v: A
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def zip[A1 >: A, B](that: scala.Option[B]): scala.Option[(A1, B)]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
- final def zip[A1 >: A, B](that: scala.Option[B]): scala.Option[(A1, B)]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Definition Classes
- Option
Shadowed Implicit Value Members
- def canEqual(that: Any): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).canEqual(that)
- Definition Classes
- Equals
- def canEqual(that: Any): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).canEqual(that)
- Definition Classes
- Equals
- final def collect[B](pf: PartialFunction[A, B]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).collect(pf)
- Definition Classes
- Option
- Annotations
- @inline()
- final def collect[B](pf: PartialFunction[A, B]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).collect(pf)
- Definition Classes
- Option
- Annotations
- @inline()
- final def exists(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).exists(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def exists(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).exists(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def filter(p: (A) => Boolean): scala.Option[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).filter(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def filter(p: (A) => Boolean): scala.Option[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).filter(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def filterNot(p: (A) => Boolean): scala.Option[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).filterNot(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def filterNot(p: (A) => Boolean): scala.Option[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).filterNot(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def flatMap[B](f: (A) => scala.Option[B]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).flatMap(f)
- Definition Classes
- Option
- Annotations
- @inline()
- final def flatMap[B](f: (A) => scala.Option[B]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).flatMap(f)
- Definition Classes
- Option
- Annotations
- @inline()
- def flatten[B](implicit ev: <:<[A, scala.Option[B]]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).flatten(ev)
- Definition Classes
- Option
- def flatten[B](implicit ev: <:<[A, scala.Option[B]]): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).flatten(ev)
- Definition Classes
- Option
- final def fold[B](ifEmpty: => B)(f: (A) => B): B
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).fold(ifEmpty)(f)
- Definition Classes
- Option
- Annotations
- @inline()
- final def fold[B](ifEmpty: => B)(f: (A) => B): B
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).fold(ifEmpty)(f)
- Definition Classes
- Option
- Annotations
- @inline()
- final def forall(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).forall(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def forall(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).forall(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).foreach(f)
- Definition Classes
- Option
- Annotations
- @inline()
- final def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).foreach(f)
- Definition Classes
- Option
- Annotations
- @inline()
- def get: A
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).get
- Definition Classes
- Option
- def get: A
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).get
- Definition Classes
- Option
- final def getOrElse[B >: A](default: => B): B
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).getOrElse(default)
- Definition Classes
- Option
- Annotations
- @inline()
- final def getOrElse[B >: A](default: => B): B
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).getOrElse(default)
- Definition Classes
- Option
- Annotations
- @inline()
- final def isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).isDefined
- Definition Classes
- Option
- final def isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).isDefined
- Definition Classes
- Option
- final def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).isEmpty
- Definition Classes
- Option
- final def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).isEmpty
- Definition Classes
- Option
- def iterator: Iterator[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).iterator
- Definition Classes
- Option → IterableOnce
- def iterator: Iterator[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).iterator
- Definition Classes
- Option → IterableOnce
- final def knownSize: Int
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).knownSize
- Definition Classes
- Option → IterableOnce
- final def knownSize: Int
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).knownSize
- Definition Classes
- Option → IterableOnce
- final def map[B](f: (A) => B): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).map(f)
- Definition Classes
- Option
- Annotations
- @inline()
- final def map[B](f: (A) => B): scala.Option[B]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).map(f)
- Definition Classes
- Option
- Annotations
- @inline()
- final def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).nonEmpty
- Definition Classes
- Option
- final def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).nonEmpty
- Definition Classes
- Option
- def productArity: Int
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productArity
- Definition Classes
- Product
- def productArity: Int
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productArity
- Definition Classes
- Product
- def productElement(n: Int): Any
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productElement(n)
- Definition Classes
- Product
- def productElement(n: Int): Any
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productElement(n)
- Definition Classes
- Product
- def productElementName(n: Int): String
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productElementName(n)
- Definition Classes
- Product
- def productElementName(n: Int): String
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productElementName(n)
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).productElementNames
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(some: scala.Option[A]).productElementNames
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productIterator
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productIterator
- Definition Classes
- Product
- def productPrefix: String
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productPrefix
- Definition Classes
- Product
- def productPrefix: String
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).productPrefix
- Definition Classes
- Product
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).stepper(shape)
- Definition Classes
- IterableOnce
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).stepper(shape)
- Definition Classes
- IterableOnce
- final def toLeft[X](right: => X): Either[A, X]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).toLeft(right)
- Definition Classes
- Option
- Annotations
- @inline()
- final def toLeft[X](right: => X): Either[A, X]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).toLeft(right)
- Definition Classes
- Option
- Annotations
- @inline()
- def toList: List[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).toList
- Definition Classes
- Option
- def toList: List[A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).toList
- Definition Classes
- Option
- final def toRight[X](left: => X): Either[X, A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).toRight(left)
- Definition Classes
- Option
- Annotations
- @inline()
- final def toRight[X](left: => X): Either[X, A]
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).toRight(left)
- Definition Classes
- Option
- Annotations
- @inline()
- final def unzip[A1, A2](implicit asPair: <:<[A, (A1, A2)]): (scala.Option[A1], scala.Option[A2])
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).unzip(asPair)
- Definition Classes
- Option
- final def unzip[A1, A2](implicit asPair: <:<[A, (A1, A2)]): (scala.Option[A1], scala.Option[A2])
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).unzip(asPair)
- Definition Classes
- Option
- final def unzip3[A1, A2, A3](implicit asTriple: <:<[A, (A1, A2, A3)]): (scala.Option[A1], scala.Option[A2], scala.Option[A3])
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).unzip3(asTriple)
- Definition Classes
- Option
- final def unzip3[A1, A2, A3](implicit asTriple: <:<[A, (A1, A2, A3)]): (scala.Option[A1], scala.Option[A2], scala.Option[A3])
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).unzip3(asTriple)
- Definition Classes
- Option
- final def withFilter(p: (A) => Boolean): WithFilter
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).withFilter(p)
- Definition Classes
- Option
- Annotations
- @inline()
- final def withFilter(p: (A) => Boolean): WithFilter
- Implicit
- This member is added by an implicit conversion from Some[A] toscala.Option[A] performed by method java2ScalaOption in org.apache.pekko.japi.Option.
- 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:(some: scala.Option[A]).withFilter(p)
- Definition Classes
- Option
- Annotations
- @inline()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Some[A] toStringFormat[Some[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Some[A], B)
- Implicit
- This member is added by an implicit conversion from Some[A] toArrowAssoc[Some[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.