public final class

ShuffleOrder.UnshuffledShuffleOrder

extends java.lang.Object

implements ShuffleOrder

 java.lang.Object

↳androidx.media3.exoplayer.source.ShuffleOrder.UnshuffledShuffleOrder

Overview

A ShuffleOrder implementation which does not shuffle.

Summary

Constructors
publicUnshuffledShuffleOrder(int length)

Creates an instance with a specified length.

Methods
public ShuffleOrdercloneAndClear()

public ShuffleOrdercloneAndInsert(int insertionIndex, int insertionCount)

public ShuffleOrdercloneAndRemove(int indexFrom, int indexToExclusive)

public intgetFirstIndex()

public intgetLastIndex()

public intgetLength()

public intgetNextIndex(int index)

public intgetPreviousIndex(int index)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public UnshuffledShuffleOrder(int length)

Creates an instance with a specified length.

Parameters:

length: The length of the shuffle order.

Methods

public int getLength()

public int getNextIndex(int index)

public int getPreviousIndex(int index)

public int getLastIndex()

public int getFirstIndex()

public ShuffleOrder cloneAndInsert(int insertionIndex, int insertionCount)

public ShuffleOrder cloneAndRemove(int indexFrom, int indexToExclusive)

public ShuffleOrder cloneAndClear()