CellAddress

Overview

CellAddress is a class in Aspose.Cells FOSS for Java.

Represents a cell address with row and column indices.

This class provides 7 methods for working with CellAddress objects in Java programs. Available methods include: CellAddress, equals, getColumnIndex, getRowIndex, hashCode, parse, toString. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: columnIndex, rowIndex.

Properties

NameTypeAccessDescription
rowIndexintReadGets the zero-based row index.
columnIndexintReadGets the zero-based column index.

Methods

SignatureDescription
CellAddress(rowIndex: int, columnIndex: int)Creates a new CellAddress with the specified row and column indices.
getRowIndex()intGets the zero-based row index.
getColumnIndex()intGets the zero-based column index.
parse(cellReference: String)CellAddressParses a cell reference string (e.g., “A1”, “Z100”) into a CellAddress.
equals(obj: Object)booleanCompares this instance with the provided value.
hashCode()intIndicates whether this instance has h code.
toString()StringReturns the string representation of this instance.

See Also