public class Holder<T>
extends Object
-
Constructor Summary
Constructors
-
Method Summary
void
boolean
boolean
void
-
-
Method Details
-
-
set
public void set(T object)
-
update
public T update(T object)
-
isEmpty
public boolean isEmpty()
-
isPresent
public boolean isPresent()
-
ifPresent
public void ifPresent(Consumer<? super T> action)
-
of
public static <T> Holder<T> of(T object)
-
blank
public static <T> Holder<T> blank()
-
-
-
-
-
-