case class TaskID(value: Long) extends ID[Long] with Ordered[TaskID] with Product with Serializable
identifier of a task obtained from scheduling an action through an instance of Timer. Tasks identifiers are totally ordered, which allows to compare them.
- value
identifying number of the task.
- Alphabetic
- By Inheritance
- TaskID
- Serializable
- Serializable
- Product
- Equals
- Ordered
- Comparable
- ID
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (TaskID, B)
-
def
<(that: TaskID): Boolean
- Definition Classes
- Ordered
-
def
<=(that: TaskID): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: TaskID): Boolean
- Definition Classes
- Ordered
-
def
>=(that: TaskID): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
compare(that: TaskID): Int
- Definition Classes
- TaskID → Ordered
-
def
compareTo(that: TaskID): Int
- Definition Classes
- Ordered → Comparable
- def ensuring(cond: (TaskID) ⇒ Boolean, msg: ⇒ Any): TaskID
- def ensuring(cond: (TaskID) ⇒ Boolean): TaskID
- def ensuring(cond: Boolean, msg: ⇒ Any): TaskID
- def ensuring(cond: Boolean): TaskID
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
idWith(newID: Long): TaskID
Returns a new instance of the same type of identifier initialized with the value given as parameter.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map(f: (Long) ⇒ Long): SameType
Applies a function to the value of the identifier and returns a new identifier with the result.
Applies a function to the value of the identifier and returns a new identifier with the result.
- f
function to apply on the value
- returns
identifier with the result of applying
f()
- Definition Classes
- ID
-
def
map2[B <: Long](that: ID[B])(f: (Long, B) ⇒ Long): SameType
Applies a function combining the values of two identifiers and returns a new identifier with the result.
Applies a function combining the values of two identifiers and returns a new identifier with the result.
- B
type of value of the other identifier
- that
other identifier to combine
- f
function to apply on the values of the two identifiers
- returns
identifier with the result of applying
f()
- Definition Classes
- ID
-
def
name: String
Output-friendly string representation of the identifier.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
value: Long
Value encapsulated by the identifier.
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (TaskID, B)
Shadowed Implicit Value Members
-
def
<(that: TaskID): Boolean
- Implicit
- This member is added by an implicit conversion from TaskID to Ordered[TaskID] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(taskID: Ordered[TaskID]).<(that)
- Definition Classes
- Ordered
-
def
<=(that: TaskID): Boolean
- Implicit
- This member is added by an implicit conversion from TaskID to Ordered[TaskID] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(taskID: Ordered[TaskID]).<=(that)
- Definition Classes
- Ordered
-
def
>(that: TaskID): Boolean
- Implicit
- This member is added by an implicit conversion from TaskID to Ordered[TaskID] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(taskID: Ordered[TaskID]).>(that)
- Definition Classes
- Ordered
-
def
>=(that: TaskID): Boolean
- Implicit
- This member is added by an implicit conversion from TaskID to Ordered[TaskID] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(taskID: Ordered[TaskID]).>=(that)
- Definition Classes
- Ordered
-
def
compare(that: TaskID): Int
- Implicit
- This member is added by an implicit conversion from TaskID to Ordered[TaskID] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(taskID: Ordered[TaskID]).compare(that)
- Definition Classes
- Ordered
-
def
compareTo(that: TaskID): Int
- Implicit
- This member is added by an implicit conversion from TaskID to Ordered[TaskID] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(taskID: Ordered[TaskID]).compareTo(that)
- Definition Classes
- Ordered → Comparable