发布于 2019-06-25 04:34:47
聚会?表示对象可以为null或Party类对象。它是Kotlin方法,用于指示对象可以是null或特定的对象。
在代码中:
// Returns the Party which hosts the account specified by account ID.
fun hostForAccount(accountId: UUID): Party?这基本上意味着返回类型可以是null或Party对象。
Party是Corda类
https://stackoverflow.com/questions/56743342
复制相似问题