Class HybridIterator<T>

java.lang.Object
com.peterphi.std.types.HybridIterator<T>
Type Parameters:
T -
All Implemented Interfaces:
Iterable<T>, Enumeration<T>, Iterator<T>

public class HybridIterator<T> extends Object implements Iterator<T>, Enumeration<T>, Iterable<T>
An Iterator and Enumeration class
  • Constructor Details

    • HybridIterator

      public HybridIterator(T[] items)
    • HybridIterator

      public HybridIterator(T[] items, int offset, int length)
    • HybridIterator

      public HybridIterator(Iterator<T> items)
    • HybridIterator

      public HybridIterator(Iterable<T> items)
    • HybridIterator

      public HybridIterator(Enumeration<T> items)
  • Method Details