@Immutable
public static final class CompositionPlaylist.EditRate
extends java.lang.Object
Constructor and Description |
---|
EditRate(java.util.List<java.lang.Long> numbers)
Constructor for the rational frame rate number.
|
Modifier and Type | Method and Description |
---|---|
long |
getDenominator()
Getter for the frame rate denominator
|
long |
getNumerator()
Getter for the frame rate numerator
|
java.lang.String |
toString() |
public EditRate(java.util.List<java.lang.Long> numbers)
numbers
- the input list of numbers. The first number in the list is treated as the numerator and the second as
the denominator. Construction succeeds only if the list has exactly two numberspublic long getNumerator()
public long getDenominator()
public java.lang.String toString()
toString
in class java.lang.Object