@Factory
public class CoreDeserializers
extends java.lang.Object
Constructor and Description |
---|
CoreDeserializers() |
Modifier and Type | Method and Description |
---|---|
protected <E> Deserializer<java.util.ArrayDeque<E>> |
arrayDequeDeserializer()
Deserializes array deque.
|
protected <E> Deserializer<java.util.ArrayList<E>> |
arrayListDeserializer()
Deserializes array lists.
|
protected <E> Deserializer<? extends java.util.Set<E>> |
defaultSetDeserializer()
Deserializes default set.
|
protected <E> Deserializer<java.util.HashSet<E>> |
hashSetDeserializer()
Deserializes hash sets.
|
protected <K,V> Deserializer<java.util.LinkedHashMap<K,V>> |
linkedHashMapDeserializer()
Deserializes hash maps.
|
protected <E> Deserializer<java.util.LinkedHashSet<E>> |
linkedHashSetDeserializer()
Deserializes linked hash sets.
|
protected <E> Deserializer<java.util.LinkedList<E>> |
linkedListDeserializer()
Deserializes linked lists.
|
protected <V> Deserializer<java.util.Optional<V>> |
optionalDeserializer()
Deserializes optional values.
|
protected <K,V> Deserializer<java.util.TreeMap<K,V>> |
treeMapDeserializer()
Deserializes hash maps.
|
protected <E> Deserializer<java.util.TreeSet<E>> |
treeSetDeserializer()
Deserializes linked hash sets.
|
@Singleton @Order(value=-100) @NonNull protected <E> Deserializer<java.util.ArrayList<E>> arrayListDeserializer()
E
- The element typenull
@Singleton @Order(value=-99) @NonNull protected <E> Deserializer<java.util.ArrayDeque<E>> arrayDequeDeserializer()
E
- The element typenull
@Singleton @Order(value=-99) @NonNull protected <E> Deserializer<java.util.LinkedList<E>> linkedListDeserializer()
E
- The element typenull
@NonNull @Singleton @Order(value=-50) protected <E> Deserializer<java.util.HashSet<E>> hashSetDeserializer()
E
- The element type@NonNull @Singleton protected <E> Deserializer<? extends java.util.Set<E>> defaultSetDeserializer()
E
- The element type@NonNull @Singleton @Order(value=-51) protected <E> Deserializer<java.util.LinkedHashSet<E>> linkedHashSetDeserializer()
E
- The element type@NonNull @Singleton @Order(value=-52) protected <E> Deserializer<java.util.TreeSet<E>> treeSetDeserializer()
E
- The element type@Singleton @NonNull @Order(value=1001) protected <K,V> Deserializer<java.util.LinkedHashMap<K,V>> linkedHashMapDeserializer()
K
- The key typeV
- The value typenull
@Singleton @NonNull @Order(value=1002) protected <K,V> Deserializer<java.util.TreeMap<K,V>> treeMapDeserializer()
K
- The key typeV
- The value typenull
@Singleton @NonNull protected <V> Deserializer<java.util.Optional<V>> optionalDeserializer()
V
- The optional typenull