Interface OrderedElement<T>

  • Type Parameters:
    T - Element type

    Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.

    public interface OrderedElement<T>
    An arbitrary element of an ordered collection. Typical use case is to represent an input item and its index.
    • Method Detail

      • getIndex

        int getIndex()
        Element index.
        0-based index of the represented element
      • getValue

        T getValue()
        Element value.
        Element value