- 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 CellAddressA1
-
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 intcompareTo(CellAddress other)static StringconvertNumToColString(int col)booleanequals(Object obj)intgetColumn()intgetRow()inthashCode()StringtoString()
-
-
-
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:
compareToin interfaceComparable<CellAddress>
-
convertNumToColString
public static String convertNumToColString(int col)
-
-