import org.cacert.gigi.localisation.Language;
+/**
+ * Generic implementation of {@link IterableDataset} that is fed by an array.
+ */
public class OutputableArrayIterable implements IterableDataset {
- Object[] content;
+ private Object[] content;
- String targetName;
+ private String targetName;
- int index = 0;
+ private int index = 0;
+ /**
+ * Creates a new {@link OutputableArrayIterable}.
+ *
+ * @param content
+ * the objects to be iterated over.
+ * @param targetName
+ * the variable where the contents of the array to be put in the
+ * loop.
+ */
public OutputableArrayIterable(Object[] content, String targetName) {
this.content = content;
this.targetName = targetName;