| Package | Description |
|---|---|
| org.atlanmod.commons.collect |
Provides utility classes and methods related to
Collections and arrays. |
| org.atlanmod.commons.function |
Provides functional interfaces that extend the Java functions.
|
| org.atlanmod.commons.io.serializer |
Provides serialization methods and related structures.
|
| Constructor and Description |
|---|
DelegatedListIterator(ListIterator<T> delegate,
Converter<T,R> converter)
Constructs a new
DelegatedIterator. |
| Modifier and Type | Method and Description |
|---|---|
static <T,U,R> Converter<T,R> |
Converter.compose(Converter<T,U> before,
Converter<U,R> after)
Returns a composed converter that first applies the
before function to its input, and then applies the
after function to the result. |
static <T,R> Converter<T,R> |
Converter.from(Function<? super T,? extends R> convertFunc,
Function<? super R,? extends T> revertFunc)
Creates a converter based on separate forward and backward functions.
|
static <T> Converter<T,T> |
Converter.identity()
Creates a converter that always converts or reverses an object to itself.
|
default Converter<R,T> |
Converter.reverse()
Returns the reversed converter of this converter.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,U,R> Converter<T,R> |
Converter.compose(Converter<T,U> before,
Converter<U,R> after)
Returns a composed converter that first applies the
before function to its input, and then applies the
after function to the result. |
static <T,U,R> Converter<T,R> |
Converter.compose(Converter<T,U> before,
Converter<U,R> after)
Returns a composed converter that first applies the
before function to its input, and then applies the
after function to the result. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BinarySerializer<T>
An object that is responsible of
Object to byte[] encoding and decoding. |
interface |
Serializer<T,U>
An object that is responsible for encoding and decoding the basic representation of
Objects. |
interface |
StringSerializer<T>
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBinarySerializer<T>
An abstract
BinarySerializer for objects of type T. |
class |
AbstractStringSerializer<T>
An abstract
StringSerializer for objects of type T. |
Copyright © 2017–2019 Atlanmod. All rights reserved.