org.optaplanner.core.impl.heuristic.selector.common.iterator

## Interface ListIterable<T>

- Type Parameters:
    `T` - the element type
  All Superinterfaces:
    Iterable<T>
  All Known Subinterfaces:
    EntitySelector, ListIterableSelector<T>, PillarSelector, SubChainSelector
  All Known Implementing Classes:
    AbstractCachingEntitySelector, AbstractEntitySelector, CachingEntitySelector, DefaultPillarSelector, DefaultSubChainSelector, FilteringEntitySelector, FromSolutionEntitySelector, MimicRecordingEntitySelector, MimicReplayingEntitySelector, NearEntityNearbyEntitySelector, ProbabilityEntitySelector, SelectedCountLimitEntitySelector, ShufflingEntitySelector, SortingEntitySelector

      public interface ListIterable<T>
      extends Iterable<T>

  An extension on the `Iterable` interface that supports `listIterator()` and `listIterator(int)`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ListIterator<T>` | `listIterator()`
    `ListIterator<T>` | `listIterator(int index)`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### listIterator

          ListIterator<T> listIterator()

      Returns:
        never null, see `List.listIterator()`.
      See Also:
        `List.listIterator()`

    - #### listIterator

          ListIterator<T> listIterator(int index)

      Parameters:
        `index` - lower than the size of this `ListIterable`, see `List.listIterator(int)`.
      Returns:
        never null, see `List.listIterator(int)`.
      See Also:
        `List.listIterator()`

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.