commit | dd692dba4fbd9dedba8e2acedcee4f936e59ea15 | [log] [tgz] |
---|---|---|
author | Kwang Yul Seo <kwangyul.seo@gmail.com> | Tue Nov 24 10:19:19 2015 |
committer | Kwang Yul Seo <kwangyul.seo@gmail.com> | Tue Nov 24 10:19:19 2015 |
tree | a80c60050c8b4625fc7e09fc39faebf8c68583b4 | |
parent | 7cd6ea9c69071310aea6c4e9bd4a9b824033009d [diff] |
Remove _hash function and use hash functions provided by quiver_hashcode.
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.