Tags
#odersky-programming-in-scala-2ed #scala
Question
How to call Thread.yield() in Scala, where yield is a reserved word?
Answer
Thread.`yield`()
string enclosed in backticks becomes an identifier, no matter how arbitrary it is.
Tags
#odersky-programming-in-scala-2ed #scala
Question
How to call Thread.yield() in Scala, where yield is a reserved word?
Tags
#odersky-programming-in-scala-2ed #scala
Question
How to call Thread.yield() in Scala, where yield is a reserved word?
Answer
Thread.`yield`()
string enclosed in backticks becomes an identifier, no matter how arbitrary it is.
If you want to change selection, open document below and click on "Move attachment"
pdf
cannot see any pdfsSummary
status | not learned | | measured difficulty | 37% [default] | | last interval [days] | |
---|
repetition number in this series | 0 | | memorised on | | | scheduled repetition | |
---|
scheduled repetition interval | | | last repetition or drill | | | | |
---|
Details
No repetitions