| Interface | Description |
|---|---|
| Dynamic |
Wrapper allowing weakly-typed nested structure selection that's null-safe
As an example consider a Map with the following structure called 'message'
|
| Weak<Self extends Weak<Self>> |
Wrapper for a weakly typed object or absence, providing casting, presence gathering & conversion methods
|
| Class | Description |
|---|---|
| AbstractDynamic<T> | |
| ChildAbsence<Parent extends Dynamic> | |
| ChildAbsence.Missing<P extends Dynamic & alexh.weak.Describer> | |
| ChildAbsence.Null | |
| Converter |
Logic container for converting weakly typed objects into core types,
ie
convert(1234.5678d).intoDecimal() returns a BigDecimal of 1234.5678
convert(1234.5678d).intoInteger() returns a rounded int of 1235
convert("2015-03").intoLocalDateTime() returns a LocalDateTime of 2015-03-01T00:00:00.000
convert(Optional.of("8484")).intoDouble() returns a double of 8484.0
Supports conversions from most basic types, in addition to java.util.Date & java.time instances,
object arrays, Iterables, Maps & Optionals + more from #toString conversions |
| ConverterMaybe |
Logic container for converting weakly typed objects into core types wrapped in optionals,
|
| ConverterTimeFormats |
Permissive
DateTimeFormatters used by Converter |
| OptionalWeak<W extends Weak<W>> |
Enhanced version of an Optional
|
| ParentAbsence<Parent extends Dynamic> | |
| ParentAbsence.Barren<P extends Dynamic & alexh.weak.Describer> | |
| ParentAbsence.Empty<P extends Dynamic & alexh.weak.Describer> | |
| XmlDynamic |
Dynamic implementation for XML documents
All keys & values in an XmlDynamic unwrap to Strings, try
Weak.convert()
to implement basic string->type conversions |
Copyright © 2017. All rights reserved.