Documentation of 'de.erichseifert.gral.util.WindowIterator' Java class
WindowIterator
de.erichseifert.gral.util

Class WindowIterator<T>

  • All Implemented Interfaces:
    java.util.Iterator<java.util.List<T>>


    public class WindowIterator<T>
    extends java.lang.Object
    implements java.util.Iterator<java.util.List<T>>
    • Constructor Summary

      Constructors 
      Constructor and Description
      WindowIterator(java.util.Iterator<T> iterator, int windowSize) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasNext() 
      java.util.List<T> next() 
      void remove() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • WindowIterator

        public WindowIterator(java.util.Iterator<T> iterator,
                              int windowSize)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.util.List<T>>
      • next

        public java.util.List<T> next()
        Specified by:
        next in interface java.util.Iterator<java.util.List<T>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.util.List<T>>

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.