Interface Tuple

All Known Implementing Classes:
DynamicTuple, Pair, Quartet, Quintet, Sextet, Triplet

@API(status=STABLE) public interface Tuple
Tuple type
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the tuple size.
    Turns the tuple into a type erased array.
  • Method Details

    • size

      int size()
      Returns the tuple size.
      Returns:
      tuple size
    • toArray

      @NonNull Object @NonNull [] toArray()
      Turns the tuple into a type erased array.
      Returns:
      created array