object Pro
- Source
- __.scala
class java.lang.Object
trait scala.Matchable
class Any
Member
Read/write property
The usual implementation looks like:
class Foo:
val namePro : Pro.M[String] = Pro.M[String]("")
def name : String = namePro()
def name_=(v :String): Unit = namePro() = v
val barPro : Int.Pro.M = Int.Pro.M(0)
def bar : Int = valuePro()
def bar_=(v :Int) : Unit = valuePro() = v
- Source
- __.scala
Read/write property
The usual implementation looks like:
class Foo:
val namePro : Pro.M[String] = Pro.M[String]("")
def name : String = namePro()
def name_=(v :String): Unit = namePro() = v
val barPro : Int.Pro.M = Int.Pro.M(0)
def bar : Int = valuePro()
def bar_=(v :Int) : Unit = valuePro() = v
- Source
- __.scala
Read/write/listenTo Property`
The usual implementation looks like:
class Foo:
val namePro : Pro.OM[String] = String.Pro.OM("")
def name : String = namePro()
def name_=(v:String): Unit = namePro() = v
val barPro : Int.Pro.OM = Int.Pro.OM(0)
def bar : Int = valuePro()
def bar_=(v:Int) : Unit = valuePro() = v
- Source
- __.scala
Read/write/listenTo Property`
The usual implementation looks like:
class Foo:
val namePro : Pro.OM[String] = String.Pro.OM("")
def name : String = namePro()
def name_=(v:String): Unit = namePro() = v
val barPro : Int.Pro.OM = Int.Pro.OM(0)
def bar : Int = valuePro()
def bar_=(v:Int) : Unit = valuePro() = v
- Source
- __.scala