| Interface | Description |
|---|---|
| Osgl.Bijection<X,Y> | |
| Osgl.Func0<R> |
Define a function that apply to no parameter (strictly this is not a function)
|
| Osgl.Func1<P1,R> |
Alias of
Osgl.Function |
| Osgl.Func2<P1,P2,R> |
Define a function structure that accept two parameter
|
| Osgl.Func3<P1,P2,P3,R> |
Define a function structure that accept three parameter
|
| Osgl.Func4<P1,P2,P3,P4,R> |
Define a function structure that accept four parameter
|
| Osgl.Func5<P1,P2,P3,P4,P5,R> |
Define a function structure that accept five parameter
|
| Osgl.Function<T,U> |
Define a function structure that accept one parameter.
|
| Osgl.MultiplicableFunction<P1,R> |
A
Osgl.Function function that support Osgl.MultiplicableFunction.times(int) operation |
| Class | Description |
|---|---|
| $ |
Alias of
Osgl |
| Osgl |
Osgl is the umbrella namespace aggregates core utilities of OSGL toolkit:
Function interfaces and base implementations
currying utilities
Tuple and multi-elements tupbles
Option
core utilities like ts()
predefined functions aggregated in the Osgl.F namespace
|
| Osgl.Comparator<T> |
Adapt JDK Comparator (since 1.2) to Functional programming.
|
| Osgl.Conf |
Namespace to configure or extend OSGL _ utilities
|
| Osgl.F0<R> |
Default implementation for
Osgl.Func0. |
| Osgl.F1<P1,R> |
Base implementation of
Osgl.Function function. |
| Osgl.F2<P1,P2,R> |
Base implementation of
Osgl.Func2 function. |
| Osgl.F3<P1,P2,P3,R> |
Base implementation of
Osgl.Func3 function. |
| Osgl.F4<P1,P2,P3,P4,R> |
Base implementation of
Osgl.Func4 function. |
| Osgl.F5<P1,P2,P3,P4,P5,R> |
Base implementation of
Osgl.Func5 function. |
| Osgl.Factory<T> |
The class adapt traditional Factory to Function
|
| Osgl.FuncBase |
The base for all Fx function class implemention
|
| Osgl.IndexedVisitor<K,T> |
An
IndexedVisitor provide a tool to iterate through a Map or indexed list
by passing the key/index and the value to the function. |
| Osgl.Meta<T> | |
| Osgl.None<T> | |
| Osgl.Operator<T> | |
| Osgl.Option<T> |
Defines an option of element
T. |
| Osgl.Predicate<T> |
Predicate is a predefined Function<Boolean, T> typed
function with a set of utilities dealing with boolean operations. |
| Osgl.Processor<T> |
Define a processor function which applied to one parameter and return the parameter instance after
processing on the parameter
|
| Osgl.Some<T> | |
| Osgl.T2<A,B> | |
| Osgl.T3<A,B,C> | |
| Osgl.T4<A,B,C,D> | |
| Osgl.T5<A,B,C,D,E> | |
| Osgl.Transformer<FROM,TO> |
A Transformer is literally a kind of
Osgl.F1 function |
| Osgl.Tuple<A,B> | |
| Osgl.V1<P1> | |
| Osgl.V2<P1,P2> | |
| Osgl.V3<P1,P2,P3> | |
| Osgl.V4<P1,P2,P3,P4> | |
| Osgl.V5<P1,P2,P3,P4,P5> | |
| Osgl.Val<T> | |
| Osgl.Var<T> | |
| Osgl.Visitor<T> |
Define a visitor (known as Consumer in java 8) function which applied to one parameter and without return type
|
| Enum | Description |
|---|---|
| Osgl.F |
The namespace to aggregate predefined core functions
|
| Exception | Description |
|---|---|
| Osgl.Break |
A Break is used to shortcut a sequence of function executions
|
Copyright © 2017. All Rights Reserved.