How to check for null in a single statement in scala?

前端 未结 4 1012
轻奢々
轻奢々 2020-12-23 09:28

In my scala code:

QueueManager.add(getObject)

where getObject is a method that returns an object of type QueueObject

4条回答
提交回复
热议问题