Package tenapull.data.deserialize
Class Lists
java.lang.Object
tenapull.data.deserialize.Lists
public class Lists
extends java.lang.Object
Utility serializers for serializing empty lists as null, and for sorting lists prior to
serializing
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLists.EmptyToNullSerializer<T>Serializer which converts an empty list to a null JSON outputstatic classLists.SortSerializer<T extends java.lang.Comparable>Serializer which sorts a list of Comparables before serializing it -
Constructor Summary
Constructors Constructor Description Lists() -
Method Summary
-
Constructor Details
-
Lists
public Lists()
-