public static Profile forInt ( int i ) { Profile p ; if ( i <= 0 || i > ALL . length ) p = UNKNOWN ; else p = ALL [ i - 1 ] ; return p ; }
Returns a profile instance for the given index . If the index is not between 1 and 23 inclusive UNKNOWN is returned .