Add more tests for collections implemented by delegation
This commit is contained in:
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
// FULL_JDK
|
||||
// See also: https://youtrack.jetbrains.com/issue/KT-42330
|
||||
|
||||
class DIntIterator(d: Iterator<Int>) : Iterator<Int> by d
|
||||
|
||||
class DIntListIterator(d: ListIterator<Int>) : ListIterator<Int> by d
|
||||
|
||||
class DIntIterable(d: Iterable<Int>) : Iterable<Int> by d
|
||||
|
||||
class DIntCollection(d: Collection<Int>) : Collection<Int> by d
|
||||
|
||||
class DIntSet(d: Set<Int>) : Set<Int> by d
|
||||
|
||||
class DIntList(d: List<Int>) : List<Int> by d
|
||||
|
||||
class DIntMap(d: Map<Int, Double>) : Map<Int, Double> by d
|
||||
|
||||
class DIntMapEntry(d: Map.Entry<Int, Double>) : Map.Entry<Int, Double> by d
|
||||
|
||||
class DIntCollectionBySet(d: Set<Int>) : Collection<Int> by d
|
||||
|
||||
class DIntCollectionByList(d: List<Int>) : Collection<Int> by d
|
||||
Reference in New Issue
Block a user