Class GRX1090Client.ChannelIterator<T>

java.lang.Object
de.serosystems.grx.GRX1090Client.ChannelIterator<T>
Type Parameters:
T - type of the iterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
GRX1090Client

public static class GRX1090Client.ChannelIterator<T> extends Object implements Iterator<T>
An iterator that allows closing the underlying channel
  • Method Details

    • getIterator

      public Iterator<T> getIterator()
    • close

      public void close()
      Gracefully close the underlying channel
    • hasNext

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

      public T next()
      Specified by:
      next in interface Iterator<T>