improved collection iterator
personally, i operation functionality presumption java.util.iterator sincerely pathetic. during minimum, i'd have methods such as:
- peek() advantage unbroken component but relocating iterator forward
- previous() advantage before element
though there lots possibilities such first() last().
does anyone know such 3rd jubilee iterator exists? substantially need implemented decorator java.util.iterator work existent java collections. ideally, should "generics aware".
thanks advance,
don
Comments
Post a Comment