| Package | Description | 
|---|---|
| net.hydromatic.lambda.functions | 
 Provides a similar API to the  
java.util.functions package
 that is part of OpenJDK 8. | 
| net.hydromatic.lambda.streams | 
 Provides a similar API to the  
java.util.streams package
 that is part of JDK 8. | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Mappers.AbstractMapper<T,R>  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T,U,V> Mapper<T,V> | 
Mappers.chain(Mapper<? super T,? extends U> first,
     Mapper<? super U,? extends V> second)  | 
<V> Mapper<T,V> | 
Mapper.compose(Mapper<? super R,? extends V> after)  | 
<V> Mapper<T,V> | 
Mappers.AbstractMapper.compose(Mapper<? super R,? extends V> after)  | 
static <T,U> Mapper<T,U> | 
Mappers.constant(U constant)  | 
static <T,U> Mapper<T,U> | 
Mappers.forMap(Map<? super T,? extends U> map)  | 
static <T,U> Mapper<T,U> | 
Mappers.forMap(Map<? super T,? extends U> map,
      U defaultValue)  | 
static <T,U> Mapper<T,U> | 
Mappers.forPredicate(Predicate<? super T> predicate,
            U forTrue,
            U forFalse)  | 
static <T> Mapper<T,T> | 
Mappers.identity()  | 
static <T,U> Mapper<T,U> | 
Mappers.instantiate(Class<? extends T> clazzT,
           Class<? extends U> clazzU)  | 
static <T> Mapper<T,String> | 
Mappers.string()  | 
static <T> Mapper<T,T> | 
Mappers.substitute(T subOut,
          T subIn)  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T,U,V> Mapper<T,V> | 
Mappers.chain(Mapper<? super T,? extends U> first,
     Mapper<? super U,? extends V> second)  | 
static <T,U,V> Mapper<T,V> | 
Mappers.chain(Mapper<? super T,? extends U> first,
     Mapper<? super U,? extends V> second)  | 
<V> Mapper<T,V> | 
Mapper.compose(Mapper<? super R,? extends V> after)  | 
<V> Mapper<T,V> | 
Mappers.AbstractMapper.compose(Mapper<? super R,? extends V> after)  | 
<W> BiMapper<T,U,W> | 
BiMapper.compose(Mapper<? super V,? extends W> after)  | 
static <T,V> Predicate<T> | 
Predicates.compose(Predicate<? super V> predicate,
       Mapper<? super T,? extends V> mapper)  | 
| Modifier and Type | Method and Description | 
|---|---|
<R> Stream<R> | 
SequentialStreamOps.map(Mapper<? super T,? extends R> mapper)  | 
<W> MapStream<K,W> | 
MapStream.mapValues(Mapper<V,W> mapper)  | 
<W> MapStream<K,W> | 
MapStream.AbstractMapStream.mapValues(Mapper<V,W> vwMapper)  | 
static <K,V,W> MapStream<K,W> | 
MapStream.Impl.mapValues(MapStream<K,V> s,
         Mapper<V,W> mapper)  | 
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.