Class MultiChannelTimeSeriesAggregator.SingleValueIterator<I>

java.lang.Object
de.iip_ecosphere.platform.kiServices.functions.aggregation.MultiChannelTimeSeriesAggregator.SingleValueIterator<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.SingleValueIterator<I> extends Object implements Iterator<I>
An iterator over a single value.
Author:
Holger Eichelberger, SSE
  • Field Details

    • value

      private I value
    • hasNext

      private boolean hasNext
  • Constructor Details

    • SingleValueIterator

      public SingleValueIterator(I value)
      Creates an iterator instance.
      Parameters:
      value - 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>