| Modifier | Constructor and Description |
|---|---|
protected |
DataTable(Map<Long,Map<String,F>> data)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Supplier<Map<Long,Map<String,T>>> |
$prettyMapSupplier()
|
protected Map<KT,VT> |
delegate() |
boolean |
isEmpty() |
static <T> DataTable<Set<TObject>,Set<T>> |
multiValued(Map<Long,Map<String,Set<TObject>>> data)
Return a
DataTable that contains multi-valued cells of
TObject values that are converted to their Java equivalents. |
static <T> DataTable<TObject,T> |
singleValued(Map<Long,Map<String,TObject>> data)
Return a
DataTable that contains single value cells
TObject values that are converted to their Java equivalents. |
int |
size() |
String |
toString() |
protected Long |
transformKey(Long key)
Transform the
key to the appropriate type. |
protected abstract VT |
transformValue(VF value)
Transform the
value to the appropriate type. |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, keySet, put, putAll, remove, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuesclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic static <T> DataTable<Set<TObject>,Set<T>> multiValued(Map<Long,Map<String,Set<TObject>>> data)
DataTable that contains multi-valued cells of
TObject values that are converted to their Java equivalents.data - DataTablepublic static <T> DataTable<TObject,T> singleValued(Map<Long,Map<String,TObject>> data)
DataTable that contains single value cells
TObject values that are converted to their Java equivalents.data - DataTableprotected Supplier<Map<Long,Map<String,T>>> $prettyMapSupplier()
Mapcom.cinchapi.concourse.util.PrettyLinkedHashMap},
com.cinchapi.concourse.util.PrettyLinkedTableMap}protected Long transformKey(Long key)
key to the appropriate type.public boolean isEmpty()
public int size()
public final String toString()
toString in class ForwardingObjectprotected Map<KT,VT> delegate()
delegate in class ForwardingMap<KT,VT>protected abstract VT transformValue(VF value)
value to the appropriate type.value -