Uses of Class
com.google.mu.util.stream.FixedSizeCollector
Packages that use FixedSizeCollector
Package
Description
BiStream, BiCollector, MoreStreams, MoreCollectors etc.
- 
Uses of FixedSizeCollector in com.google.mu.util.stream
Methods in com.google.mu.util.stream that return FixedSizeCollectorModifier and TypeMethodDescriptionstatic <T,R> FixedSizeCollector <T, ?, R> Returns a collector that collects the only three elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> Returns a collector that collects the only four elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> Returns a collector that collects the only five elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> Returns a collector that collects the only six elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> Returns a collector that collects the only seven elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> Returns a collector that collects the only eight elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.combining(BiFunction<? super T, ? super T, ? extends R> mapper) Returns a collector that collects the only two elements from the input and transforms them using themapperfunction.static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElement(Function<? super T, ? extends R> mapper) Returns collector that collects the single element from the input.static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(MapFrom3<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom3).static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(MapFrom4<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom4).static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(MapFrom5<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom5).static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(MapFrom6<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom6).static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(MapFrom7<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom7).static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(MapFrom8<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom7).static <T,R> FixedSizeCollector <T, ?, R> MoreCollectors.onlyElements(BiFunction<? super T, ? super T, ? extends R> mapper) Same asMoreCollectors.combining(BiFunction).Methods in com.google.mu.util.stream with parameters of type FixedSizeCollectorModifier and TypeMethodDescriptionstatic <T,R> Collector <T, ?, R> MoreCollectors.switching(FixedSizeCollector<T, ?, R> firstCase, FixedSizeCollector<T, ?, R>... moreCases) Returns aCollectorthat will collect the input elements using the first of[firstCase, moreCases...]that matches the input elements.