Package | Description |
---|---|
org.glassfish.pfl.basic.algorithm | |
org.glassfish.pfl.basic.func |
Modifier and Type | Interface and Description |
---|---|
static interface |
Graph.Finder<E>
A Finder finds the immediate successors of an element of the graph.
|
Modifier and Type | Method and Description |
---|---|
static <A,R> UnaryFunction<A,R> |
Algorithms.mapToFunction(Map<A,R> map) |
Modifier and Type | Method and Description |
---|---|
static <S,T> List<T> |
Algorithms.flatten(List<S> list,
UnaryFunction<S,List<T>> map)
Flatten the results of applying map to list into a list of T.
|
static <A,R> void |
Algorithms.map(Collection<A> arg,
Collection<R> result,
UnaryFunction<A,R> func) |
static <A,R> List<R> |
Algorithms.map(List<A> arg,
UnaryFunction<A,R> func) |
static <K,A,R> Map<K,R> |
Algorithms.map(Map<K,A> arg,
UnaryFunction<A,R> func) |
Modifier and Type | Class and Description |
---|---|
class |
UnaryFunctionBase<S,R> |
Copyright © 2017 Oracle. All rights reserved.