private static String formatArmor(int points){
  if ((points == IArmorState.ARMOR_DOOMED) || (points == IArmorState.ARMOR_DESTROYED)) {
    return "Destroyed";
  }
  if (points == IArmorState.ARMOR_NA) {
    return "N/A";
  }
  return String.valueOf(points);
}

private static String formatArmor ( int points ) { if ( ( points == IArmorState . ARMOR_DOOMED ) || ( points == IArmorState . ARMOR_DESTROYED ) ) { return "Destroyed" ; } if ( points == IArmorState . ARMOR_NA ) { return "N/A" ; } return String . valueOf ( points ) ; }
produce a string describing this armor value . valid output values are any integer from 0 to 100 , n / a , or destroyed .
