public final class CellAddress extends Object implements Comparable<CellAddress>
| Modifier and Type | Field and Description |
|---|---|
static CellAddress |
A1 |
| Constructor and Description |
|---|
CellAddress(int row,
int column)
Represents a cell address inside a sheet
|
CellAddress(String address) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CellAddress other) |
static String |
convertNumToColString(int col) |
boolean |
equals(Object obj) |
int |
getColumn() |
int |
getRow() |
int |
hashCode() |
String |
toString() |
public static final CellAddress A1
public CellAddress(int row,
int column)
row - zero-based row indexcolumn - zero-based column indexpublic CellAddress(String address)
public int getRow()
public int getColumn()
public int compareTo(CellAddress other)
compareTo in interface Comparable<CellAddress>public static String convertNumToColString(int col)
Copyright © 2021. All rights reserved.