Back to Exoplayer

DumpableFormat (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/testutil/DumpableFormat.html

latest2.5 KB
Original Source

Package com.google.android.exoplayer2.testutil

Class DumpableFormat

  • java.lang.Object

    • com.google.android.exoplayer2.testutil.DumpableFormat
  • All Implemented Interfaces:Dumper.Dumpable


public final classDumpableFormatextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Dumper.Dumpable](Dumper.Dumpable.html "interface in com.google.android.exoplayer2.testutil")

Wraps a Format to allow dumping it.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | int | index | |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | DumpableFormat​(Format format, int index) | |

Method Summary

All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | dump​(Dumper dumper) | Dumps the fields of the object using the dumper. | | boolean | equals​(Object o) | | | int | hashCode() | |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

index

public final int index

Constructor Detail

- 

DumpableFormat

public DumpableFormat​([Format](../Format.html "class in com.google.android.exoplayer2")format,
                      int index)

Method Detail

- 

dump

public void dump​([Dumper](Dumper.html "class in com.google.android.exoplayer2.testutil")dumper)

Description copied from interface: Dumper.Dumpable

Dumps the fields of the object using the dumper. Specified by:dump in interface Dumper.DumpableParameters:dumper - The Dumper to be used to dump fields.

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)

Overrides:equals in class Object

- 

hashCode

public int hashCode()

Overrides:hashCode in class Object