Class LeftInheritanceTuple1

All Implemented Interfaces:
ITuple

public final class LeftInheritanceTuple1 extends BaseLeftInheritanceTuple
Since:
1.7
  • Constructor Details

    • LeftInheritanceTuple1

      protected LeftInheritanceTuple1(Tuple ancestor, Object localElement)
      Parameters:
      ancestor -
      localElement -
  • Method Details

    • getSize

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

      public int getLocalSize()
      Specified by:
      getLocalSize in class BaseLeftInheritanceTuple
      Returns:
      the number of local (non-inherited) elements
    • get

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

      protected boolean localEquals(BaseLeftInheritanceTuple other)
      Optimized equals calculation (prediction: true, since hash values match)
      Specified by:
      localEquals in class BaseLeftInheritanceTuple