예제 #1
0
 @Override
 public Index parse(CharSequence csq, Cursor cursor) throws IllegalArgumentException {
   return Index.of(TypeFormat.parseInt(csq, cursor));
 }
예제 #2
0
 @Override
 public Appendable format(Index obj, Appendable dest) throws IOException {
   return TypeFormat.format(obj.intValue(), dest);
 }