T
- The type of data that the DataRewinder
will
wrap.public static interface DataRewinder.Factory<T>
DataRewinder
s.Modifier and Type | Method and Description |
---|---|
DataRewinder<T> |
build(T data)
Returns a new
DataRewinder wrapping the given data. |
java.lang.Class<T> |
getDataClass()
Returns the class of data this factory can produce
DataRewinder s for. |
@NonNull DataRewinder<T> build(@NonNull T data)
DataRewinder
wrapping the given data.@NonNull java.lang.Class<T> getDataClass()
DataRewinder
s for.