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
Ordering
- Alphabetic
- By Inheritance
Inherited
- CCostedOption
- CostedOption
- Costed
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
accumulatedCost: Int
- Definition Classes
- CCostedOption → CostedOption
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
builder: CostedBuilder
- Definition Classes
- CCostedOption → Costed
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
cost: Int
- Definition Classes
- CCostedOption → Costed
- Annotations
- @NeverInline()
-
val
costOpt: Option[Int]
- Definition Classes
- CCostedOption → CostedOption
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
size: Size[Option[T]]
- Definition Classes
- CCostedOption → Costed
-
val
sizeOpt: Option[Size[T]]
- Definition Classes
- CCostedOption → CostedOption
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
value: Option[T]
- Definition Classes
- CCostedOption → Costed
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()