@PublicApi public interface EnclosedIterable<T> extends Sized
You can access all elements using the foreach(Consumer) method.
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnclosedIterable.Functions |
static class |
EnclosedIterable.ListResolver<T>
Utility class for transforming a
EnclosedIterable into a List. |
| Modifier and Type | Method and Description |
|---|---|
void |
foreach(Consumer<T> sink)
Apply the sink to all elements in the Collection.
|
boolean |
isEmpty() |
int |
size() |
int size()
size in interface Sizedforeach(Consumer). Be careful depending on this size
being exact, as in many cases its best efforts value or may be unstable due to concurrent changes.Copyright © 2002-2023 Atlassian. All Rights Reserved.