- java.lang.Object
-
- org.dhatim.fastexcel.reader.CellAddress
-
- All Implemented Interfaces:
Comparable<CellAddress>
public final class CellAddress extends Object implements Comparable<CellAddress>
-
-
Field Summary
Fields Modifier and Type Field Description static CellAddress
A1
-
Constructor Summary
Constructors Constructor Description CellAddress(int row, int column)
Represents a cell address inside a sheetCellAddress(String address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(CellAddress other)
static String
convertNumToColString(int col)
boolean
equals(Object obj)
int
getColumn()
int
getRow()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
A1
public static final CellAddress A1
-
-
Constructor Detail
-
CellAddress
public CellAddress(int row, int column)
Represents a cell address inside a sheet- Parameters:
row
- zero-based row indexcolumn
- zero-based column index
-
CellAddress
public CellAddress(String address)
-
-
Method Detail
-
getRow
public int getRow()
-
getColumn
public int getColumn()
-
compareTo
public int compareTo(CellAddress other)
- Specified by:
compareTo
in interfaceComparable<CellAddress>
-
convertNumToColString
public static String convertNumToColString(int col)
-
-