java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<AdapterKey,Adapter<?,?>>
org.apache.johnzon.mapper.map.LazyConverterMap
- All Implemented Interfaces:
Serializable,ConcurrentMap<AdapterKey,,Adapter<?, ?>> Map<AdapterKey,Adapter<?, ?>>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DateTimeFormatterprivate static final booleanprivate static final Adapter<?,?> private booleanprivate booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Adapter<?,?> add(AdapterKey key, Adapter<?, ?> converter) private Adapter<?,?> private Adapter<?,?> private Adapter<?,?> private Adapter<?,?> private Adapter<?,?> private Adapter<?,?> private Adapter<?,?> private Adapter<?,?> private static voidprivate Adapter<?,?> doLazyLookup(AdapterKey key) Set<Map.Entry<AdapterKey,Adapter<?, ?>>> entrySet()private <T extends Calendar>
TfromCalendar(String text, Function<ZonedDateTime, T> calendarSupplier) Adapter<?,?> private booleanvoidsetDateTimeFormatter(DateTimeFormatter dateTimeFormatter) voidsetUseBigDecimalStringAdapter(boolean useBigDecimalStringAdapter) voidsetUseBigIntegerStringAdapter(boolean useBigIntegerStringAdapter) voidsetUseShortISO8601Format(boolean useShortISO8601Format) private StringtoStringCalendar(Calendar instance) Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesMethods inherited from class java.util.AbstractMap
clone
-
Field Details
-
NO_ADAPTER
-
useShortISO8601Format
private boolean useShortISO8601Format -
dateTimeFormatter
-
IJSON_BIG_NUMBER_DEFAULT
private static final boolean IJSON_BIG_NUMBER_DEFAULT -
useBigIntegerStringAdapter
private boolean useBigIntegerStringAdapter -
useBigDecimalStringAdapter
private boolean useBigDecimalStringAdapter
-
-
Constructor Details
-
LazyConverterMap
public LazyConverterMap()
-
-
Method Details
-
setUseShortISO8601Format
public void setUseShortISO8601Format(boolean useShortISO8601Format) -
setDateTimeFormatter
-
setUseBigDecimalStringAdapter
public void setUseBigDecimalStringAdapter(boolean useBigDecimalStringAdapter) -
setUseBigIntegerStringAdapter
public void setUseBigIntegerStringAdapter(boolean useBigIntegerStringAdapter) -
get
- Specified by:
getin interfaceMap<AdapterKey,Adapter<?, ?>> - Overrides:
getin classConcurrentHashMap<AdapterKey,Adapter<?, ?>>
-
entrySet
- Specified by:
entrySetin interfaceMap<AdapterKey,Adapter<?, ?>> - Overrides:
entrySetin classConcurrentHashMap<AdapterKey,Adapter<?, ?>>
-
adapterKeys
-
doLazyLookup
-
addOffsetDateTimeConverter
-
addZonedDateTimeConverter
-
addLocalDateTimeConverter
-
addLocalDateConverter
-
addInstantConverter
-
addGregorianCalendar
-
addCalendarConverter
-
addDateConverter
-
checkForDeprecatedTimeZone
-
toStringCalendar
-
hasTime
-
fromCalendar
private <T extends Calendar> T fromCalendar(String text, Function<ZonedDateTime, T> calendarSupplier) -
add
-