| commit | 8b72ed957cb73d7d5a2d08a5c422e07c027478b4 | [log] [tgz] |
|---|---|---|
| author | Kwang Yul Seo <kwangyul.seo@gmail.com> | Thu Sep 24 01:41:37 2015 |
| committer | Kwang Yul Seo <kwangyul.seo@gmail.com> | Thu Sep 24 02:01:37 2015 |
| tree | 157931ace742988a078a69adb69c3888e3dfa0af | |
| parent | f289d8f3f2067cd1ad05fe6e31b2da46897cb77d [diff] |
Add Tuple6 and Tuple7 classes.
const t = const Tuple2<String, int>('a', 10); print(t.item1); // prints 'a' print(t.item2); // prints '10'
final t1 = const Tuple2<String, int>('a', 10); final t2 = t1.withItem1('c'); // t2 is a new [Tuple2] object with item1 is 'c' and item2 is 10.