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. |
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 Class<T> getDataClass()
DataRewinder
s for.