c

special.collection

CCostedOption

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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accumulatedCost: Int
    Definition Classes
    CCostedOptionCostedOption
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def builder: CostedBuilder
    Definition Classes
    CCostedOptionCosted
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def cost: Int
    Definition Classes
    CCostedOptionCosted
    Annotations
    @NeverInline()
  9. val costOpt: Option[Int]
    Definition Classes
    CCostedOptionCostedOption
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def size: Size[Option[T]]
    Definition Classes
    CCostedOptionCosted
  20. val sizeOpt: Option[Size[T]]
    Definition Classes
    CCostedOptionCostedOption
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. val value: Option[T]
    Definition Classes
    CCostedOptionCosted
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CostedOption[T]

Inherited from Costed[Option[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped