Class

special.collection

CCostedOption

Related Doc: package collection

Permalink

class CCostedOption[T] extends CostedOption[T]

CostedOption is represented similar to CostedCol, because option can be represented as collection of 0 or 1 elements.

Linear Supertypes
CostedOption[T], Costed[Option[T]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CCostedOption
  2. CostedOption
  3. Costed
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CCostedOption(value: Option[T], costOpt: Option[Int], sizeOpt: Option[Size[T]], accumulatedCost: Int)

    Permalink

    value

    optional value

    costOpt

    optional cost of producing the optional value

    sizeOpt

    optional size of the optional value

    accumulatedCost

    accumulated cost to produce this option object (but not the cost of producing the value it may cost)

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val accumulatedCost: Int

    Permalink

    accumulated cost to produce this option object (but not the cost of producing the value it may cost)

    accumulated cost to produce this option object (but not the cost of producing the value it may cost)

    Definition Classes
    CCostedOptionCostedOption
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def builder: CostedBuilder

    Permalink
    Definition Classes
    CCostedOptionCosted
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def cost: Int

    Permalink
    Definition Classes
    CCostedOptionCosted
    Annotations
    @NeverInline()
  9. val costOpt: Option[Int]

    Permalink

    optional cost of producing the optional value

    optional cost of producing the optional value

    Definition Classes
    CCostedOptionCostedOption
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def size: Size[Option[T]]

    Permalink
    Definition Classes
    CCostedOptionCosted
  20. val sizeOpt: Option[Size[T]]

    Permalink

    optional size of the optional value

    optional size of the optional value

    Definition Classes
    CCostedOptionCostedOption
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. val value: Option[T]

    Permalink

    optional value

    optional value

    Definition Classes
    CCostedOptionCosted
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CostedOption[T]

Inherited from Costed[Option[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped