Class Pair.RightIterator<L,R>

java.lang.Object
net.hydromatic.morel.util.Pair.RightIterator<L,R>
Type Parameters:
L - Left-hand type
R - Right-hand type
All Implemented Interfaces:
Iterator<R>
Enclosing class:
Pair<T1,T2>

private static class Pair.RightIterator<L,R> extends Object implements Iterator<R>
Iterator that returns the right field of each pair.
  • Field Details

  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<L>
    • next

      public R next()
      Specified by:
      next in interface Iterator<L>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<L>