Class StyleAndVariationResourceNameIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.String>

    public class StyleAndVariationResourceNameIterator
    extends java.lang.Object
    implements java.util.Iterator<java.lang.String>
    Iterate over all possible combinations of style and variation
    Author:
    Juergen Donnerstag
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getStyle()  
      java.lang.String getVariation()  
      boolean hasNext()  
      java.lang.String next()
      The return value will always be null.
      void remove()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining
    • Constructor Detail

      • StyleAndVariationResourceNameIterator

        public StyleAndVariationResourceNameIterator​(java.lang.String style,
                                                     java.lang.String variation)
        Construct.
        Parameters:
        style -
        variation -
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.String>
        See Also:
        Iterator.hasNext()
      • next

        public java.lang.String next()
        The return value will always be null. Use getStyle() and getVariation() instead.
        Specified by:
        next in interface java.util.Iterator<java.lang.String>
        See Also:
        Iterator.next()
      • getStyle

        public final java.lang.String getStyle()
        Returns:
        Gets the style related to the iterator state
      • getVariation

        public final java.lang.String getVariation()
        Returns:
        Gets the variation related to the iterator state
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.lang.String>
        See Also:
        Iterator.remove()