{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

IntervalList.Interval

public final class IntervalList.Interval<T extends Object>


The interval holder.

See also
get

Summary

Public methods

final int

The amount of items in the interval.

final int

The index of the first item in the interval.

final @NonNull T

The value representing this interval.

Public methods

getSize

public final int getSize()

The amount of items in the interval.

getStartIndex

public final int getStartIndex()

The index of the first item in the interval.

getValue

public final @NonNullgetValue()

The value representing this interval.