/** * obtain the data for target class type. * @param clazz the data interface module * @param <T> the data module type * @return the data. never null. * @since 1.1.0 */ public static <T> T obtainData(Class<T> clazz){ return DataPools.obtain(clazz); }
@Override public void recycle() { DataPools.recycle(this); } }
@Override public void recycle() { DataPools.recycle(this); } }
@Override public void recycle() { DataPools.recycle(this); }
/** * obtain the data for target class type. * @param clazz the data interface module * @param <T> the data module type * @return the data. never null. * @since 1.1.0 */ public static <T> T obtainData(Class<T> clazz){ return DataPools.obtain(clazz); }
@Override public void recycle() { DataPools.recycle(this); }