Class Range

  • All Implemented Interfaces:
    android.os.Parcelable , java.lang.Comparable

    
    public class Range
     implements Parcelable, Comparable<T>
                        

    Represents a range indexed from 0.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Range(int position, int length) Creates a range.
      Range(Parcel source) Creates a Range object from the provided parcel.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Range

        Range(int position, int length)
        Creates a range.
        Parameters:
        position - Position at which to start the range.
        length - Length of the range.
      • Range

        Range(Parcel source)
        Creates a Range object from the provided parcel.
        Parameters:
        source - Parcel to use for extracting range object.