Class SingletonIterator<T>

  • All Implemented Interfaces:
    Iterator<T>

    public class SingletonIterator<T>
    extends Object
    implements Iterator<T>
    Simple read-only iterator that iterators over one specific item, passed in as constructor argument.
    • Constructor Detail

      • SingletonIterator

        @Deprecated
        public SingletonIterator​(T value)
        Deprecated.