| Package | Description |
|---|---|
| alexh.weak |
| Class and Description |
|---|
| AbstractDynamic |
| ChildAbsence |
| 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,
|
| Dynamic
Wrapper allowing weakly-typed nested structure selection that's null-safe
As an example consider a Map with the following structure called 'message'
|
| OptionalWeak
Enhanced version of an Optional
|
| ParentAbsence |
| Weak
Wrapper for a weakly typed object or absence, providing casting, presence gathering & conversion methods
|
Copyright © 2017. All rights reserved.