rhm
0
Q:

java lambda list of objects cast

collection.stream()
    .filter(obj -> obj instanceof ScheduleIntervalContainer)
    .map(obj -> (ScheduleIntervalContainer) obj)
0

New to Communities?

Join the community