public final class CachingDataSetHeader extends SimpleDataSetHeader implements DataSetHeader
DataSetHeader. This implementation is
'caching' in the sense that index values of selectitems are cached in a map
to provide quick access when looking up by SelectItem or
Column.| Constructor and Description |
|---|
CachingDataSetHeader(List<SelectItem> items) |
| Modifier and Type | Method and Description |
|---|---|
int |
indexOf(Column column) |
int |
indexOf(SelectItem item) |
equals, fromColumns, getSelectItem, getSelectItems, hashCode, size, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSelectItem, getSelectItems, sizepublic CachingDataSetHeader(List<SelectItem> items)
public int indexOf(Column column)
indexOf in interface DataSetHeaderindexOf in class SimpleDataSetHeaderpublic final int indexOf(SelectItem item)
indexOf in interface DataSetHeaderindexOf in class SimpleDataSetHeaderCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.