import java.util.stream.Stream import kotlin.streams.* // kotlin-stdlib-jdk7 fun testUse(c: AutoCloseable) = c.use {} // kotlin-stdlib-jdk8 fun testGet(c: MatchGroupCollection) = c.get("") fun testGetOrDefault(c: Map) = c.getOrDefault(42, "") fun testRemove(c: MutableMap) = c.remove(42, "") fun testAsSequence(c: Stream) = c.asSequence()