Class FlatTuple2

  • All Implemented Interfaces:
    ITuple

    public final class FlatTuple2
    extends BaseFlatTuple
    Flat tuple with statically known arity of 2.
    Since:
    1.7
    • Constructor Detail

      • FlatTuple2

        protected FlatTuple2​(java.lang.Object element0,
                             java.lang.Object element1)
    • Method Detail

      • getSize

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

        public java.lang.Object get​(int index)
        Returns:
        the element at the specified index