Interface ElementSelector<T>

All Superinterfaces:
Supplier<T>
All Known Implementing Classes:
RingElementSelector

public interface ElementSelector<T> extends Supplier<T>
Strategy interface for selecting the next element from a candidate set.
Author:
渔民小镇
date:
2022-05-15
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next selected element.

    Methods inherited from interface Supplier

    get
  • Method Details

    • next

      T next()
      Returns the next selected element.
      Returns:
      selected element, or null if none