Priority function ( int arg0 ) { switch ( arg0 ) { case HIGHEST_PRIORITY_VALUE : return HIGHEST ; case HIGHER_PRIORITY_VALUE : return HIGHER ; case HIGH_PRIORITY_VALUE : return HIGH ; case LOWER_PRIORITY_VALUE : return LOWER ; case LOWEST_PRIORITY_VALUE : return LOWEST ; case NORMAL_PRIORITY_VALUE : default : return NORMAL ; } }
returns the correct instance of the priority enum for avalue . this method will return normal if the supplied value of avalue is invalid . concode_field_sep int LOWER_PRIORITY_VALUE concode_elem_sep Priority LOWER concode_elem_sep String LOWER_PRIORITY_LITERAL concode_elem_sep Priority LOW concode_elem_sep Priority[] ENUM_ARRAY concode_elem_sep String LOWEST_PRIORITY_LITERAL concode_elem_sep String LOW_PRIORITY_LITERAL concode_elem_sep int LOW_PRIORITY_VALUE concode_elem_sep Priority HIGHER concode_elem_sep int HIGHEST_PRIORITY_VALUE concode_elem_sep int LOWEST_PRIORITY_VALUE concode_elem_sep String literal concode_elem_sep int HIGHER_PRIORITY_VALUE concode_elem_sep String NORMAL_PRIORITY_LITERAL concode_elem_sep Priority LOWEST concode_elem_sep String HIGHEST_PRIORITY_LITERAL concode_elem_sep Priority HIGH concode_elem_sep int NORMAL_PRIORITY_VALUE concode_elem_sep int HIGH_PRIORITY_VALUE concode_elem_sep Priority HIGHEST concode_elem_sep String HIGH_PRIORITY_LITERAL concode_elem_sep int value concode_elem_sep Priority NORMAL concode_elem_sep String HIGHER_PRIORITY_LITERAL concode_field_sep int getValue concode_elem_sep String getLiteral concode_elem_sep String toString