python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
filter the objects from nested collection of Mongo db?
DeviceType.java
private String Id;
private List<DeviceTelemetry> telemetries = new ArrayList<>()
//Getter Setter
DeviceTelemetry.java (Enum Class)
private String name;
private String desc...

Gopal Sakhwala
Votes: 0
Answers: 1
Get list of Artists from Album by using streams in JSP?
I have a list of Albums that have a list of Tracks that have a list of Artists. I want to get all artists involved in making tracks for each Album.
If I have one Album, I can pass that Album to a meth...

user15690589
Votes: 0
Answers: 1
How to handle exceptions thrown in streams map without try catch?
I want to handle the exception without using try catch clauses.
void test() {
list.stream().map(obj -> {
Batch batch = x.findByBatchId(obj.getBatchId())
/// exception is thr...
t thog
Votes: 0
Answers: 1
java streams: accumulated collector
Currently, that's my code:
Iterable<Practitioner> referencedPractitioners = this.practitionerRepository.findAllById(
Optional.ofNullable(patient.getPractitioners())
.map(List::stream...
Jordi
Votes: 0
Answers: 1