is there type-safe java doing 'reduce'?


i mostly need run devaluate (also called foldl / foldr, depending your contexts) java sum elements an itterable.



reduce takes collection/iterable/etc, duty twin parameters, an discretionary start value (depending doing details). duty constantly receptive an component collection cost before bid devaluate until elements have processed, advantage final value.



is there type-safe doing devaluate any common java api? seems should have one, nonetheless i haven't means it. (possibly since i don't know names use.)



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?