public class Examples extends java.util.ArrayList<Example>
| Modifier and Type | Field and Description |
|---|---|
private Attributes |
attributes
the attributes structure for these examples
|
| Constructor and Description |
|---|
Examples(Attributes attributes)
Explicit constructor.
|
Examples(Attributes attributes,
java.util.Scanner scanner)
Given the attributes structure, processes the tokens in the scanner and
populates the ArrayList of Doubles.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a string representation of the examples.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeprivate Attributes attributes
public Examples(Attributes attributes) throws java.lang.Exception
attributes - the attributes for this set of examplesExpection - if an exception occursjava.lang.Exceptionpublic Examples(Attributes attributes, java.util.Scanner scanner) throws java.lang.Exception
attributes - a attributes structurescanner - a Scanner containing the examples' tokensjava.lang.Exceptionpublic java.lang.String toString()
toString in class java.util.AbstractCollection<Example>