@FunctionalInterface public interface OptionalThingNoneProcessor
opt.ifPresent(member -> {
// called if value exists, not called if not present
... = member.getMemberName();
}).orElse(() -> {
// *here: called if value does not exists
});
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
process()
Fire the process when the value is not present.
|
Copyright © 2014–2015 The DBFlute Project. All rights reserved.