Class MultiChannelTimeSeriesAggregator.ArrayIterator<I>

java.lang.Object
de.iip_ecosphere.platform.kiServices.functions.aggregation.MultiChannelTimeSeriesAggregator.ArrayIterator<I>
Type Parameters:
I - the type to iterate over
All Implemented Interfaces:
Iterator<I>
Enclosing class:
MultiChannelTimeSeriesAggregator<I,CI,O,D,T>

public static class MultiChannelTimeSeriesAggregator.ArrayIterator<I> extends Object implements Iterator<I>
Iterator for arrays.
Author:
Holger Eichelberger, SSE
  • Field Details

    • pos

      private int pos
    • array

      private I[] array
  • Constructor Details

    • ArrayIterator

      public ArrayIterator(I[] array)
      Creates an iterator instance.
      Parameters:
      array - the single value to iterate over, must not be null
  • Method Details

    • hasNext

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

      public I next()
      Specified by:
      next in interface Iterator<I>