private String printDFormat(short x){
  return printDFormat(Short.toString(x));
}

private String printDFormat ( short x ) { return printDFormat ( Short . toString ( x ) ) ; }
format method for the d conversion specifer and short argument . < p / > for d format , the flag character ' - ' , means that the output should be left justified within the field . the default is to pad with blanks on the left . a ' + ' character means that the conversion will always begin with a sign ( + or - ) . the blank flag character means that a non - negative input will be preceded with a blank . if both a ' + ' and a ' ' are specified , the blank flag is ignored . the ' 0 ' flag character implies that padding to the field width will be done with zeros instead of blanks . < p / > the field width is treated as the minimum number of characters to be printed . the default is to add no padding . padding is with blanks by default . < p / > the precision , if set , is the minimum number of digits to appear . padding is with leading 0s .
