---
Product: Aspose.Cells
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/java/ListObjectCollection
---

# ListObjectCollection

## Overview

`ListObjectCollection` is a class in Aspose.Cells FOSS for Java.

Collection of Excel tables (ListObjects) on a worksheet.

This class provides 6 methods for working with ListObjectCollection objects in Java programs.
Available methods include: `add`, `get`, `getCount`, `parseTableStyleType`, `removeAt`, `tableStyleTypeName`.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `count`.

## Description

`ListObjectCollection` is a class in the Aspose.Cells FOSS library for Java that exposes 8 methods and 1 property for programmatic use.

The class also provides the `count` property (gets the count).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `count` | `int` | Read | Gets the count. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getCount()` → `int` | Returns the count. |
| `get(index: int)` → `ListObject` | Returns the table with the given display name (case-insensitive). Throws CellsException if not found. |
| `get(name: String)` → `ListObject` | Returns the table with the given display name (case-insensitive). |
| `add(startRow: int, startColumn: int, endRow: int, endColumn: int, hasHeaders: boolean)` → `int` | Adds a table covering the given zero-based row/column range. |
| `add(startCellName: String, endCellName: String, hasHeaders: boolean)` → `int` | Adds a table from A1-style cell names (e.g. |
| `removeAt(index: int)` |  |
| `parseTableStyleType(name: String)` → `TableStyleType` |  |
| `tableStyleTypeName(type: TableStyleType)` → `String` |  |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)
- [Aspose.Cells for Java — Enterprise API Reference](https://reference.aspose.com/cells/java/com.aspose.cells/listobjectcollection/)