Set < T > function ( Optional < T > arg0 ) { return arg0 . isPresent ( ) ? ImmutableSet . of ( arg0 . get ( ) ) : ImmutableSet . of ( ) ; }
gets the value of an optional as either a zero - or one-element immutable set . concode_field_sep PlaceHolder placeHolder concode_field_sep Predicate<E> predicateAnd concode_elem_sep Predicate<E> predicateAnd concode_elem_sep BiPredicate<L,R> biPredicateAnd concode_elem_sep BiPredicate<L,R> biPredicateAnd concode_elem_sep CompletableFuture<T> asyncFailableFuture concode_elem_sep com.google.common.base.Predicate<E> java8ToGuava concode_elem_sep CompletableFuture<T> failableFuture concode_elem_sep Predicate<E> guavaToJava8 concode_elem_sep Predicate<E> predicateIn