public class ExampleTable<T extends ExampleTableRow> extends Object implements Iterable<T>
Each.forEach(ExampleTable, org.eclipse.xtext.xbase.lib.Procedures.Procedure1).| Constructor and Description |
|---|
ExampleTable(String name,
List<String> columns,
List<T> rows) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends ExampleTableRow> |
create(String name,
List<String> columns,
P... entries) |
T |
get(int index)
Returns the table row at the specified index.
|
List<String> |
getColumnNames() |
String |
getName() |
List<T> |
getRows() |
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static <P extends ExampleTableRow> ExampleTable<P> create(String name, List<String> columns, P... entries)
public T get(int index)
index - IndexOutOfBoundsException - if the index is out of rangepublic Iterator<T> iterator()
iterator in interface Iterable<T extends ExampleTableRow>public String getName()
Copyright © 2012-2014 BMW Car IT. All Rights Reserved.