Package qilin.util

Interface IterableNumberer<E>

All Superinterfaces:
Iterable<E>, Numberer<E>
All Known Implementing Classes:
ArrayNumberer, StringNumberer

public interface IterableNumberer<E> extends Numberer<E>, Iterable<E>
A numberer which also supports an iterator on newly-added objects.
Author:
xiao, generalize the interface
  • Method Details

    • iterator

      Iterator<E> iterator()
      Returns an iterator over all objects added to the numberer.
      Specified by:
      iterator in interface Iterable<E>