Optional

org.appliedtopology.tda4j.Optional
See theOptional companion object
final case class Optional[+A](toOption: Option[A])

An optional parameter that a call site can give as a plain value: maxFiltrationValue = 2.0 (or 2), as well as Some(2.0), None or any Option[Double]. The conversions apply only at parameters of type Optional[...], with no import at the call site.

Attributes

Companion
object
Experimental
true
Source
Optional.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getOrElse[B >: A](default: => B): B

Attributes

Source
Optional.scala
def isEmpty: Boolean

Attributes

Source
Optional.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala