Interface ColorSequencer

All Superinterfaces:
Iterator<Color>
All Known Implementing Classes:
CssColorSequencer, FiniteLinearColorSequencer, FiniteRandomColorSequencer, RandomHueGenerator

public interface ColorSequencer extends Iterator<Color>
Common interface for color sequencers. Color sequencers iterate over a given set of colors. Unless specified otherwise, they iterate infinitely, thus hasNext() returns true by default.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     

    Methods inherited from interface java.util.Iterator

    forEachRemaining, next, remove