Class EmptySupplierIterator<K,V>

java.lang.Object
io.usethesource.capsule.util.iterator.EmptySupplierIterator<K,V>
All Implemented Interfaces:
SupplierIterator<K,V>, Supplier<V>, Iterator<K>

public class EmptySupplierIterator<K,V> extends Object implements SupplierIterator<K,V>
  • Field Details

  • Constructor Details

    • EmptySupplierIterator

      public EmptySupplierIterator()
  • Method Details

    • emptyIterator

      public static <K, V> SupplierIterator<K,V> emptyIterator()
    • hasNext

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

      public K next()
      Specified by:
      next in interface Iterator<K>
    • get

      public V get()
      Specified by:
      get in interface Supplier<K>
    • remove

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