Class OrderedElements

  • @PublicAPI
    public final class OrderedElements
    extends Object
    Utilities for OrderedElement.

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

    • Method Detail

      • of

        public static <T> OrderedElement<T> of​(int index,
                                               T value)
        Create an instance.
        index - Index
        value - Value
        Instance exposing index and value