Groovy equivalent of Java 8 :: (double colon) operator

后端 未结 2 1126
深忆病人
深忆病人 2021-01-04 02:52

What would the equivalent to Java 8 :: (double colon operator) in Groovy?

I\'m trying to translate this example in groovy https://github.com/bytefish/PgBulkInsert

2条回答
  •  死守一世寂寞
    2021-01-04 02:53

    As of Groovy 3 (beta), groovy now has support for java 8 colon syntax (and more).

    So the example you have will work exactly the same in groovy.

提交回复
热议问题