| Package | Description |
|---|---|
| org.osgl | |
| org.osgl.util | |
| org.osgl.util.algo | |
| org.osgl.util.converter |
| Modifier and Type | Class and Description |
|---|---|
static class |
Lang.F1<P1,R>
Base implementation of
Lang.Function function. |
static class |
Lang.Operator<T> |
static class |
Lang.Predicate<T>
Predicate is a predefined Function<Boolean, T> typed function with a set of utilities dealing with boolean operations. |
static class |
Lang.Processor<T>
Define a processor function which applied to one parameter and return the parameter instance after processing on the parameter
|
static class |
Lang.Transformer<FROM,TO>
A Transformer is literally a kind of
Lang.F1 function |
static class |
Lang.TypeConverter<FROM,TO>
A
TypeConverter is a Lang.Transformer that convert a type to another |
static class |
Lang.V1<P1> |
static class |
Lang.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 |
|---|---|
Lang.Bijection<Y,X> |
Lang.Bijection.invert()
Returns the inverse function mapping from
Y back to X |
Lang.Bijection<R,P1> |
Lang.F1.invert() |
static <X,Y> Lang.Bijection<Y,X> |
Lang.F.invert(Lang.Bijection<X,Y> f)
Returns a inverted function of
Lang.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> Lang.F1<X,Y> |
Lang.f1(Lang.Bijection<X,Y> f1) |
static <X,Y> Lang.Bijection<Y,X> |
Lang.F.invert(Lang.Bijection<X,Y> f)
Returns a inverted function of
Lang.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. |
| Modifier and Type | Class and Description |
|---|---|
class |
PreprocessedStringSearch
Encapsulate a preprocessed String search which contains 1.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonArrayToXml |
class |
JsonObjectToXml |
class |
XmlToJson |
Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.