Package org.aoju.bus.core.map
Class RowKeyTable<R,C,V>
java.lang.Object
org.aoju.bus.core.map.AbstractTable<R,C,V>
org.aoju.bus.core.map.RowKeyTable<R,C,V>
- Type Parameters:
R- 行类型C- 列类型V- 值类型
- All Implemented Interfaces:
Iterable<Table.Cell<R,,C, V>> Table<R,C, V>
将行的键作为主键的
Table实现 此结构为: 行=(列=值)- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aoju.bus.core.map.Table
Table.Cell<R,C, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()清空表格返回所有列的key,列的key如果实现Map是可重复key,则返回对应不去重的List。返回所有列的key,列的key不可重复返回列-行对应的mapbooleancontainsColumn(C columnKey) 列是否存在获取列booleanisEmpty()表格是否为空为表格指定行列赋值,如果不存在,创建之,存在则替换之,返回原值移除指定值rowMap()返回行列对应的MapMethods inherited from class org.aoju.bus.core.map.AbstractTable
cellSet, equals, hashCode, iterator, toString, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.aoju.bus.core.map.Table
contains, containsRow, containsValue, forEach, get, getRow, putAll, rowKeySet, size
-
Constructor Details
-
RowKeyTable
public RowKeyTable()构造 -
RowKeyTable
-
RowKeyTable
-
RowKeyTable
-
-
Method Details
-
rowMap
-
put
-
remove
-
isEmpty
-
clear
-
containsColumn
-
columnMap
-
columnKeySet
-
columnKeys
-
getColumn
-