static int interpretOrdinal ( int ordinal , int numTiers ) { if ( ordinal >= 0 ) { return Math . min ( ordinal , numTiers - 1 ) ; } return Math . max ( numTiers + ordinal , 0 ) ; }
Interprets a tier ordinal given the number of tiers .