| Package | Description |
|---|---|
| org.aoju.bus.core.lang |
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
|
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
Optional.ifPresentOrElse(Consumer<? super T> action,
VoidFunc0 emptyAction)
|
<U> Optional<U> |
Optional.mapOrElse(Function<? super T,? extends U> mapper,
VoidFunc0 emptyAction)
|
Copyright © 2022. All rights reserved.