V
- the type of data to be aggregatedpublic abstract class AbstractMultiCollectable<V> extends Object implements MultiCollectable<V>, sim.portrayal.inspector.ProvidesInspector
MultiCollectable
implementation backed by a two-dimensional
list. This class also implements ProvidesInspector
to display the
data in a table.Constructor and Description |
---|
AbstractMultiCollectable() |
Modifier and Type | Method and Description |
---|---|
abstract List<? extends List<V>> |
obtainValues()
Values contained in this
Collectable . |
Inspector |
provideInspector(GUIState state,
String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWriter, toMultimap
clear, obtainHeaders, toMap
public abstract List<? extends List<V>> obtainValues()
MultiCollectable
Collectable
. Each inner iterable
represents a column and is equal in size.obtainValues
in interface Collectable<Iterable<V>>
obtainValues
in interface MultiCollectable<V>
public Inspector provideInspector(GUIState state, String name)
provideInspector
in interface sim.portrayal.inspector.ProvidesInspector