Class IndexRange

java.lang.Object
org.apache.flink.runtime.executiongraph.IndexRange
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResultSubpartitionIndexSet

public class IndexRange extends Object implements Serializable
This class represents the range of index. The range is inclusive.
See Also:
  • Field Details

    • startIndex

      protected final int startIndex
    • endIndex

      protected final int endIndex
  • Constructor Details

    • IndexRange

      public IndexRange(int startIndex, int endIndex)
  • Method Details

    • getStartIndex

      public int getStartIndex()
    • getEndIndex

      public int getEndIndex()
    • size

      public int size()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object