Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
groovy
/
completion
/
InjectMethodForCollection.groovy
blob: 9570e62efae569c39ce5124f5e4b5d76b67740cb [
file
] [
log
] [
blame
]
List
<
String
>
list
=[
'a'
,
'b'
,
'c'
]
list
.
inject
(
2
){
value
,
item
->
item
.
substr
<caret>
}