}, spliterator()), context).mapToEntry(pb -> pb.a, pb -> pb.b);
@SuppressWarnings("null") public Map<String, Collection<Role>> getAllRoles() { return StreamEx.of(modelRegistry.getModels()).parallel().filter(notNull()::apply).mapToEntry(m -> m.getId(), m -> getAllRoles(m)).toMap(); } }
pb1.b = combiner.apply(pb1.b, pb2.b); return pb1; }, spliterator()), context).mapToEntry(pb -> pb.a, pb -> finisher.apply(pb.b));
return new EntryStream<>(Spliterators.emptySpliterator(), context); if (other.length == 1) return mapToEntry(e -> other[0]); return cross(t -> of(other));