Add more tests for collections implemented by delegation

This commit is contained in:
Dmitry Petrov
2020-09-29 21:26:47 +03:00
parent 3c380faeb5
commit f79afd67f4
20 changed files with 2488 additions and 46 deletions
@@ -0,0 +1,19 @@
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