Class StemEvaluator.CyclicArgList

  • Enclosing class:
    StemEvaluator

    public static class StemEvaluator.CyclicArgList
    extends Object
    This makes an infinite arg list for creating new stems.
           Object[] myArgs = new Object[]{"a","b",0L};
           CyclicArgClist cal = new CyclicArgList(myArgs);
           cal.next(17);
     
    would return the array
         ["a","b",),"a","b",...]
     
    with 17 elements
    • Constructor Detail

      • CyclicArgList

        public CyclicArgList​(Object[] args)
    • Method Detail

      • next

        public Object[] next​(int n)
        Cyclically get the next n elements
        Parameters:
        n -
        Returns: