Class EmptyScanner<T>

java.lang.Object
io.datarouter.scanner.BaseScanner<T>
io.datarouter.scanner.EmptyScanner<T>
All Implemented Interfaces:
Scanner<T>, Closeable, AutoCloseable

public class EmptyScanner<T>
extends BaseScanner<T>
  • Constructor Details

  • Method Details

    • singleton

      public static <T> Scanner<T> singleton()
    • advance

      public boolean advance()
      Description copied from interface: Scanner
      Try to update current to the next item, if there is one.
      Returns:
      True if it advanced