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