Interface Tuple

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

public interface Tuple
Tuple type
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the tuple size
    @NonNull Object @NonNull []
    Turn the tuple into a type erased array
  • Method Details

    • getSize

      int getSize()
      Get the tuple size
      Returns:
      Tuple size
    • toArray

      @NonNull Object @NonNull [] toArray()
      Turn the tuple into a type erased array
      Returns:
      Created array