Optional in Java Beitrags-Autor:admin Beitrag veröffentlicht:26. September 2024 Beitrags-Kategorie:Sonstiges var name = Optional.ofNullable(param) .filter(Predicate.not(String::isEmpty)) .orElse(DEFAULT);var name = Optional.ofNullable(param) .filter(Predicate.not(String::isEmpty)) .orElse(DEFAULT); Das könnte dir auch gefallen VS Code Rulers 19. Juni 2021 MyBatis 28. August 2017 SVG im Datei-Explorer 5. Dezember 2024