Package 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<Solution_>`, `ListIterableSelector<Solution_,​T>`, `PillarSelector<Solution_>`, `SubChainSelector<Solution_>`
  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 | 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()`