public static class RationalDuration.DottedBaseDuration extends Object
RationalDuration.dottedNotation(Rational)
and
stored in the local cache RationalDuration.cache_dotted
.Modifier and Type | Field and Description |
---|---|
protected int |
baseExponent
The exponent of the base value.
|
protected Rational |
baseValue
The value of the base note symbol, is always a power of two.
|
protected int |
dotCount
The number of dots.
|
protected String |
dotString
For convenience: String representation of the sequence of prolongation dots.
|
protected Rational |
value
The value resulting from dotting.
|
Modifier | Constructor and Description |
---|---|
protected |
DottedBaseDuration(Rational value,
Rational baseValue,
int baseExponent,
int dotCount)
Only construtor.
|
Modifier and Type | Method and Description |
---|---|
int |
get_baseExponent()
returns the exponent of the denominator of the base duration,
eg.
|
Rational |
get_baseValue()
Evident
|
int |
get_dotCount()
Evident
|
String |
get_dotString()
Evident
|
Rational |
get_value()
Evident
|
String |
toString() |
protected Rational baseValue
protected Rational value
protected int baseExponent
protected int dotCount
protected String dotString
public Rational get_value()
public Rational get_baseValue()
public int get_dotCount()
public String get_dotString()
public int get_baseExponent()