Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
强制计算惰性值的惯用 scala 方法是什么?
只需调用它:
lazy val x = someOperation() // ... x