StrFnCachePath

final case class StrFnCachePath[A](isApplicable: A => Boolean, newTokens: () => Tokens[A])

A specific subset of a type that will be cached.

For example, you would have a StrFnCachePath[Option[A]] for the None case, and another StrFnCachePath[Option[A]] for the Some case.

Value Params
isApplicable

Whether a given value of A is within the subset of A represented by this path/instance.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def widen[B >: A](implicit ct: ClassTag[A]): StrFnCachePath[B]
def xmap[B](f: A => B)(g: B => A): StrFnCachePath[B]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product