Mercurial > hg > Members > tatsuki > functionaljava-master > core
changeset 3:68e5def4e745
change iterator but not Parallels
author | tatsuki |
---|---|
date | Sat, 21 Mar 2015 11:23:09 +0900 |
parents | d2b4440b2cc0 |
children | 19c719aba746 |
files | src/main/java/fj/data/TreeMap.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/fj/data/TreeMap.java Sat Mar 21 08:06:30 2015 +0900 +++ b/src/main/java/fj/data/TreeMap.java Sat Mar 21 11:23:09 2015 +0900 @@ -161,7 +161,7 @@ * @return A iterator for this map's key-value pairs. */ public Iterator<P2<K, V>> iterator() { - return null; + return tree.iterator(); // join( // tree.toStream().map(P2.<K, Option<V>, IterableW<V>> map2_(IterableW.<V, Option<V>> wrap())) // .map(P2.tuple(compose(IterableW.<V, P2<K, V>> map(), P.<K, V> p2())))).iterator();