public class CellElementInfoMap extends java.lang.Object implements java.lang.Iterable<WriteCellElementInfo>
构造器和说明 |
---|
CellElementInfoMap(int columnCount,
int rowCount) |
限定符和类型 | 方法和说明 |
---|---|
int |
capacity() |
boolean |
contains(int col,
int row)
指定位置是否存在单元格
|
boolean |
contains(WriteCellElementInfo info)
是否存在指定的WriteCellElementInfo
|
WriteCellElementInfo |
get(int column,
int row)
获取指定位置的单元格
|
int |
getColumnCount() |
int |
getRowCount() |
java.util.Iterator<WriteCellElementInfo> |
iterator()
迭代器
|
void |
put(WriteCellElementInfo current)
放入
|
void |
remove(int col,
int row) |
void |
remove(WriteCellElementInfo info)
移除指定单元格
|
int |
size()
单元格总数
|
public int getRowCount()
public int getColumnCount()
public void put(WriteCellElementInfo current)
current
- public WriteCellElementInfo get(int column, int row)
column
- row
- public boolean contains(int col, int row)
col
- row
- public boolean contains(WriteCellElementInfo info)
info
- public void remove(int col, int row)
public void remove(WriteCellElementInfo info)
info
- public int size()
public int capacity()
public java.util.Iterator<WriteCellElementInfo> iterator()
iterator
在接口中 java.lang.Iterable<WriteCellElementInfo>