int function ( Fraction arg0 ) { int loc0 = arg0 . getNumerator ( ) ; int loc1 = 256 ; while ( loc1 > 1 && arg0 . compareTo ( fr ( 1 , loc1 ) ) > 0 ) { loc1 /= 2 ; } if ( loc0 == 3 ) { return 1 ; } else if ( loc0 == 7 ) { return 2 ; } else { return 0 ; } }
gets the number of dots of the given fraction . at maximum two dots are returned , otherwise 0 is returned . concode_field_sep PlaceHolder placeHolder concode_field_sep Fraction getDuration concode_elem_sep Type getNoteheadSymbolType concode_elem_sep int getFlagsCount concode_elem_sep Type getRestType concode_elem_sep Fraction getBaseDuration