pt.compiler.helper
Class Permutation

java.lang.Object
  extended by pt.compiler.helper.Permutation
All Implemented Interfaces:
java.lang.Iterable<java.lang.String[]>

public class Permutation
extends java.lang.Object
implements java.lang.Iterable<java.lang.String[]>


Constructor Summary
Permutation(java.lang.String[] options, int length)
           
 
Method Summary
 java.util.Iterator<java.lang.String[]> iterator()
           
 void reset()
           
 void setLength(int length)
           
 void setOptions(java.lang.String[] options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Permutation

public Permutation(java.lang.String[] options,
                   int length)
Method Detail

setOptions

public void setOptions(java.lang.String[] options)

setLength

public void setLength(int length)

reset

public void reset()

iterator

public java.util.Iterator<java.lang.String[]> iterator()
Specified by:
iterator in interface java.lang.Iterable<java.lang.String[]>