E - The type of the list elements.java.lang.Iterable<E>@Private
public interface ReadOnlyList<E>
extends java.lang.Iterable<E>
ReadOnlyList is a unmodifiable list,
which supports read-only operations.| Modifier and Type | Interface | Description |
|---|---|---|
static class |
ReadOnlyList.Util |
Utilities for
ReadOnlyList |
| Modifier and Type | Method | Description |
|---|---|---|
E |
get(int i) |
|
boolean |
isEmpty() |
Is this an empty list?
|
int |
size() |
boolean isEmpty()
int size()
E get(int i)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.