src/main/java/net/sourceforge/jaad/aac/SampleFrequency.java
public static SampleFrequency forInt(int i) {
        final SampleFrequency freq;
        if (i >= 0 && i < 12)
            freq = values()[i];
        else
            freq = SAMPLE_FREQUENCY_NONE;
        return freq;
    }
public static SampleFrequency forInt(int i) {
        final SampleFrequency freq;
        if (i >= 0 && i < 12)
            freq = values()[i];
        else
            freq = SAMPLE_FREQUENCY_NONE;
        return freq;
    }
public static SampleFrequency forInt ( int i ) { final SampleFrequency freq ; if ( i >= 0 && i < 12 ) freq = values ( ) [ i ] ; else freq = SAMPLE_FREQUENCY_NONE ; return freq ; }
Returns a sample frequency instance for the given index. If the index is
not between 0 and 11 inclusive, SAMPLE_FREQUENCY_NONE is returned.

@return a sample frequency with the given index
Returns a sample frequency instance for the given index . If the index is not between 0 and 11 inclusive SAMPLE_FREQUENCY_NONE is returned .