| Package | Description |
|---|---|
| alexh.weak |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Weak<T>> |
OptionalWeak.empty() |
OptionalWeak<W> |
OptionalWeak.filter(Predicate<? super W> predicate) |
default OptionalWeak<Self> |
Weak.maybe()
Returns an optional wrapping of this instance, with resultant
Optional.isPresent() return consistent with Weak.isPresent() |
static <T extends Weak<T>> |
OptionalWeak.of(T val) |
Copyright © 2017. All rights reserved.