Package com.github.mizool.core.converter
Class Converters
java.lang.Object
com.github.mizool.core.converter.Converters
-
Method Summary
Modifier and TypeMethodDescriptionstatic <R,
P> List<R> Deprecated, for removal: This API element is subject to removal in a future version.static <R,
P> Set<R> Deprecated, for removal: This API element is subject to removal in a future version.UsetoRecords(Set, Function)
instead.static <D,
P> List<D> static <D,
P> Set<D> static <D,
P> List<P> static <D,
P> Set<P> static <R,
P> List<R> static <R,
P> Set<R>
-
Method Details
-
toDtos
-
toRecords
-
fromPojos
@Deprecated(forRemoval=true) public static <R,P> List<R> fromPojos(List<P> pojos, Function<P, R> converter) Deprecated, for removal: This API element is subject to removal in a future version.UsetoRecords(List, Function)
instead. -
toPojos
-
toDtos
-
toRecords
-
fromPojos
@Deprecated(forRemoval=true) public static <R,P> Set<R> fromPojos(Set<P> pojos, Function<P, R> converter) Deprecated, for removal: This API element is subject to removal in a future version.UsetoRecords(Set, Function)
instead. -
toPojos
-
toRecords(List, Function)
instead.