indexedForEach(IndexedConsumer).
And additional reason for the custom interface is to allow
custom implementations which can be highly optimised as
necessary for our specific needs; for example the
implementation org.hibernate.sql.results.graph.internal.ImmutableFetchList
is able to avoid caching problems related to JDK-8180450, which would
not have been possible with a standard generic container.
| Modifier and Type | Method and Description |
|---|---|
| public default boolean | |
| public void | forEach(Consumer<? super Fetch>
The action to be performed for each element consumer)Redeclares as abstract: java. Iterable
until all elements have been processed or the action throws an
exception.
|
| public Fetch | |
| public default boolean | |
| public void | |
| public boolean | |
| public int | |
| public default Stream |
| containsCollectionFetches | back to summary |
|---|---|
| public default boolean containsCollectionFetches() | |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super Fetch> consumer) Redeclares as abstract: java. Doc from java. Performs the given action for each element of the The behavior of this method is unspecified if the action performs side-effects that modify the underlying source of elements, unless an overriding class has specified a concurrent modification policy. | |
| get | back to summary |
|---|---|
| public Fetch get(Fetchable fetchable) | |
| hasJoinFetches | back to summary |
|---|---|
| public default boolean hasJoinFetches() | |
| indexedForEach | back to summary |
|---|---|
| public void indexedForEach(IndexedConsumer<? super Fetch> consumer) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| size | back to summary |
|---|---|
| public int size() | |
| stream | back to summary |
|---|---|
| public default Stream | |