コード例 #1
0
 public Cursor2List(final Class<T> clazz) {
   try {
     converter = Either.Left(clazz.getConstructor(CursorGetter.class));
   } catch (final NoSuchMethodException e) {
     throw new IllegalArgumentException(
         "go and implement a the constructor "
             + clazz.getCanonicalName()
             + "(CursorWrapper.CursorGetter)",
         e);
   }
 }