Interface Range


  • public interface Range
    This interface represents a range of integer values between two values in which the range includes the start value but excludes the end value.
    • Method Detail

      • range

        static Range range​(int startIndexInclusive,
                           int endIndexExclusive)
        This method can be used to create a range object from two indices.
        Parameters:
        startIndexInclusive - The start index of the range inclusive of this value.
        endIndexExclusive - The end index of the range exclusive of this value.
        Returns:
        The range.
      • startIndexInclusive

        int startIndexInclusive()
      • endIndexExclusive

        int endIndexExclusive()