| Modifier and Type | Method and Description | 
|---|---|
static <T> T | 
getFirst(Iterable<T> iterable,
        T defaultValue)  | 
static <T,R> Iterator<R> | 
limit(Iterator<R> iterator,
     int limit)  | 
static <T,R> Iterable<R> | 
map(Iterable<T> iterable,
   IFunction<T,R> mapper)
Transform the Iterable by applying a function to each element 
 | 
static <T,R> Iterator<R> | 
map(Iterator<T> iterator,
   IFunction<T,R> mapper)
Transform the Iterator by applying a function to each element 
 | 
static <T> Iterable<T> | 
nullToEmpty(Iterable<T> iterable)
Return empty Iterable if argument is null 
 | 
public static <T> T getFirst(Iterable<T> iterable, T defaultValue)
public static <T,R> Iterable<R> map(Iterable<T> iterable, IFunction<T,R> mapper)
public static <T,R> Iterator<R> map(Iterator<T> iterator, IFunction<T,R> mapper)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.