简体   繁体   中英

What is the equivalent of double colon (::) Java in Kotlin?

orgList.getOrgMigrationMap().entrySet().stream()
    .filter(//some logic)
    .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));

Trying to get the Kotlin equivalent of this code, but looks like double colon :: in Kotlin means something else than Java. Can someone suggest?

它是相同的,但它也可以用于获取有关目标的反射信息。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM