Uses of Interface
com.google.mu.function.MapFrom6
Packages that use MapFrom6
Package
Description
A few useful collections
BiStream, BiCollector, MoreStreams, MoreCollectors etc.
- 
Uses of MapFrom6 in com.google.mu.collect
Methods in com.google.mu.collect with parameters of type MapFrom6Modifier and TypeMethodDescriptionstatic <T,R> Optional <R> MoreCollections.findFirstElements(Collection<T> collection, MapFrom6<? super T, ? extends R> found) Ifcollectionhas at least 6 elements, passes the first 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty().static <T,R> Optional <R> MoreCollections.findOnlyElements(Collection<T> collection, MapFrom6<? super T, ? extends R> found) Ifcollectionhas exactly 6 elements, passes the 6 elements tofoundfunction and returns the non-null result wrapped in anOptional, or else returnsOptional.empty(). - 
Uses of MapFrom6 in com.google.mu.util.stream
Methods in com.google.mu.util.stream with parameters of type MapFrom6Modifier and TypeMethodDescriptionstatic <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> MoreCollectors.onlyElements(MapFrom6<? super T, ? extends R> mapper) Same asMoreCollectors.combining(MapFrom6).