Interface Tuple

    • Method Detail

      • size

        int size()
        Gets the number of elements held by this tuple.

        Each tuple type has a fixed size, returned by this method. For example, Pair returns 2.

        the size of the tuple
      • elements

        List<Object> elements()
        Gets the elements from this tuple as a list.

        The list contains each element in the tuple in order.

        the elements as a list