public class BaseTableMap<R,C,V> extends Object implements TableMap<R,C,V>
| colKey1 | colKey2
----------------------------
rowKey1 | val | val
----------------------------
rowKey2 | val | val
----------------------------
| 构造器和说明 |
|---|
BaseTableMap() |
BaseTableMap(Supplier<Map<C,V>> colMapFactory) |
BaseTableMap(Supplier<Map<R,Map<C,V>>> rowMapFactory,
Supplier<Map<C,V>> colMapFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<R,Map<C,V>> |
asMap()
获取对应的Map集合
|
boolean |
containsColMap(Object rowKey)
是否存在对应的ColMap
|
Map<C,V> |
getColMap(R rowKey)
获取ColMap
|
void |
putColMap(Map<R,Map<C,V>> map)
添加ColMap
|
void |
putVal(R rowKey,
C colKey,
V val)
添加值
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeIfAbsent, containsVal, getVal, getValOrDefault, putVal, rowKeySet, valuespublic BaseTableMap(@Nonnull Supplier<Map<R,Map<C,V>>> rowMapFactory, @Nonnull Supplier<Map<C,V>> colMapFactory)
public BaseTableMap()
public boolean containsColMap(Object rowKey)
TableMapcontainsColMap 在接口中 TableMap<R,C,V>rowKey - rowKeyCopyright © 2022. All rights reserved.