java.lang.Object
net.pincette.util.Builder<T>
- Type Parameters:
T
- the object type.
Chains updates to mutable objects.
- Author:
- Werner Donné
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static <T> Builder<T>
create
(SupplierWithException<T> supplier) update
(ConsumerWithException<T> set) updateIf
(Predicate<T> predicate, ConsumerWithException<T> set) updateIf
(Supplier<Optional<U>> value, BiConsumerWithException<T, U> set)
-
Method Details
-
create
-
build
-
update
-
updateIf
-
updateIf
-