Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

java lambda list of objects cast

collection.stream()
    .filter(obj -> obj instanceof ScheduleIntervalContainer)
    .map(obj -> (ScheduleIntervalContainer) obj)
 
PREVIOUS NEXT
Tagged: #java #lambda #list #objects #cast
ADD COMMENT
Topic
Name
4+6 =