Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
j2k
/
testData
/
fileOrElement
/
mutableCollections
/
Recursion.kt
blob: 05bfb5544e3c085b775c884b84c4139e357884e0 [
file
] [
log
] [
blame
]
import
java
.
util
.*
internal
class
A
{
fun foo
(
collection
:
MutableCollection
<
String
>)
{
bar
(
collection
)
}
fun bar
(
collection
:
MutableCollection
<
String
>)
{
if
(
collection
.
size
<
5
)
{
foo
(
collection
)
}
else
{
collection
.
add
(
"a"
)
}
}
}