コード例 #1
0
 protected ScoreBoardCondition getFormatSpecifierScoreBoardCondition(String formatSpecifier)
     throws IllegalArgumentException {
   ScoreBoardValue value = scoreBoardValues.get(formatSpecifier);
   if (null == value)
     throw new IllegalArgumentException("Not a valid format specifier : " + formatSpecifier);
   return value.getScoreBoardCondition();
 }
コード例 #2
0
 protected String getFormatSpecifierValue(String formatSpecifier) {
   ScoreBoardValue value = scoreBoardValues.get(formatSpecifier);
   if (null == value) return formatSpecifier;
   return value.getValue();
 }