| Package | Description |
|---|---|
| org.osgl | |
| org.osgl.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
Osgl.F1<P1,R>
Base implementation of
Osgl.Function function. |
static class |
Osgl.Operator<T> |
static class |
Osgl.Predicate<T>
Predicate is a predefined Function<Boolean, T> typed
function with a set of utilities dealing with boolean operations. |
static class |
Osgl.Processor<T>
Define a processor function which applied to one parameter and return the parameter instance after
processing on the parameter
|
static class |
Osgl.Transformer<FROM,TO>
A Transformer is literally a kind of
Osgl.F1 function |
static class |
Osgl.V1<P1> |
static class |
Osgl.Visitor<T>
Define a visitor (known as Consumer in java 8) function which applied to one parameter and without return type
|
| Modifier and Type | Method and Description |
|---|---|
Osgl.Bijection<Y,X> |
Osgl.Bijection.invert()
Returns the inverse function mapping from
Y back to X |
Osgl.Bijection<R,P1> |
Osgl.F1.invert() |
static <X,Y> Osgl.Bijection<Y,X> |
Osgl.F.invert(Osgl.Bijection<X,Y> f)
Returns a inverted function of
Osgl.Bijection which map from X to Y, and the
returned function map from Y to X. |
| Modifier and Type | Method and Description |
|---|---|
static <X,Y> Osgl.F1<X,Y> |
Osgl.f1(Osgl.Bijection<X,Y> f1) |
static <X,Y> Osgl.Bijection<Y,X> |
Osgl.F.invert(Osgl.Bijection<X,Y> f)
Returns a inverted function of
Osgl.Bijection which map from X to Y, and the
returned function map from Y to X. |
| Modifier and Type | Class and Description |
|---|---|
class |
BigDecimalValueObjectCodec |
class |
BigIntegerValueObjectCodec |
class |
FastJsonObjectCodec |
class |
KeywordValueObjectCodec |
class |
KVCodec |
class |
SimpleObjectFactory |
class |
StringValueResolver<T>
A String value resolver resolves a
string value into
a certain type of object instance. |
Copyright © 2017. All Rights Reserved.