Class FlatTuple1

All Implemented Interfaces:
ITuple

public final class FlatTuple1 extends BaseFlatTuple
Flat tuple with statically known arity of 1.
Since:
1.7
  • Constructor Details

    • FlatTuple1

      protected FlatTuple1(Object element0)
  • Method Details

    • getSize

      public int getSize()
      Returns:
      number of elements
    • get

      public Object get(int index)
      Returns:
      the element at the specified index
    • internalEquals

      protected boolean internalEquals(ITuple other)
      Description copied from class: AbstractTuple
      Compares the elements stored in this tuple to another tuple
      Overrides:
      internalEquals in class AbstractTuple