Long.G.Opt

opaque type Opt[+A <: Any.Long]

Long Specialized Generic Option

To be used with Long based opaque values.

Source
Opt.scala

Def

inline def contains(v: A): Boolean
Source
Opt.scala
inline def default(v: => A): Long.G.Opt[A]
Source
Opt.scala
inline def drop(f: A => Boolean): Long.G.Opt[A]
Source
Opt.scala
inline def dropOnly(v: A): Long.G.Opt[A]
Source
Opt.scala
def dropVoid(using d: Any.Def.Void[A]): Long.G.Opt[A]
Source
Opt.scala
inline def filter(f: A => Boolean): Long.G.Opt[A]
Source
Opt.scala
inline def fornil[U](f: => U): Long.G.Opt[A]
Source
Opt.scala
inline def forval[U](f: A => U): Long.G.Opt[A]
Source
Opt.scala
def get: A
Source
Opt.scala
inline def isEmpty: Boolean
Source
Opt.scala
inline def map[B](f: A => B)(using s: Specialized[B]): s.Opt
Source
Opt.scala
inline def mapIf(f: A => Boolean, m: A => A): Long.G.Opt[A]
Source
Opt.scala
inline def mapOpt[B,OPT<:Any.Opt[B]](f: A => OPT)(using s: Specialized[B]): s.Opt
Source
Opt.scala
inline def mix[B,C](o: Any.Opt[B], f: (A, B) => C)(using s: Specialized[C]): s.Opt
Source
Opt.scala
inline def nonEmpty: Boolean
Source
Opt.scala
inline def or(default: => A): A
Source
Opt.scala
inline def orOpt(that: => Long.G.Opt[A]): Long.G.Opt[A]
Source
Opt.scala
inline def process[U,W](f: A => U, fNil: => W): Long.G.Opt[A]
Source
Opt.scala
inline def raw: Long.G.Opt[A]
Source
Opt.scala
inline def real: Long
Source
Opt.scala
inline def ref: Opt[A]
Source
Opt.scala
inline def take(f: A => Boolean): Long.G.Opt[A]
Source
Opt.scala
inline def takeOnly(v: A): Long.G.Opt[A]
Source
Opt.scala