case class ProtoID(value: String) extends ID[String] with Product with Serializable
Class to represent protocol identifiers. The field value corresponds to the nickname of the protocol.
- value
the nickname of the protocol
- Alphabetic
- By Inheritance
- ProtoID
- Serializable
- Serializable
- Product
- Equals
- ID
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ProtoID(value: String)
- value
the nickname of the protocol
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): (ProtoID, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (ProtoID) ⇒ Boolean, msg: ⇒ Any): ProtoID
- def ensuring(cond: (ProtoID) ⇒ Boolean): ProtoID
- def ensuring(cond: Boolean, msg: ⇒ Any): ProtoID
- def ensuring(cond: Boolean): ProtoID
-
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: String): ProtoID
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: (String) ⇒ String): 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 <: String](that: ID[B])(f: (String, B) ⇒ String): 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: String
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): (ProtoID, B)