4, 'a', 'b', 'c'] assert list[3] == 'a' list << 'd' assert list[6] == 'd' def range = 1..10 assert range.size() == 10 def map = [a: 1, b: 2, c: 3] assert map['b'] == 2 assert map.b == 2 map['d'] = 'Mix' map.e = 'IT' assert [map.d, map['e']].join('-‐') == 'Mix-‐IT' Liste Range Map