All Classes and Interfaces
Class
Description
Simple LRU (Least Recently Used) cache, bounded by a specified cache capacity.
Represents the final result of a type conversion.
Provides additional information about the conversion that failed.
Implementation of
ConversionResult
that indicates a failed conversion.An enum describing the different error types.
Implementation of
ConversionResult
that indicates a successful conversion.Thrown to indicate that a cycling
Mapper.UniMapper
call occurred during conversion.An edge of the mapper graph.
Flags for further configuration of
Mapper
s.A
FromMappingAction
is returned by Proteus.from(Type)
and used to register one or, if needed, multiple Mapper
s for
the Type
that is bound to this FromMappingAction
.Undirected, unweighted graph of all possible conversion paths.
A
IntoMappingAction
is returned by Proteus.into(Type)
and used to register one or, if needed, multiple Mapper
s for
the Type
that is bound to this IntoMappingAction
.A mapper is responsible for converting a source type
S
into a target type T
.A subtype of
Mapper
that can convert the source type S
into the target type T
, but can also convert the
target type T
back into the source type S
.Provides additional information about the mapping.
Represents the result of a
Mapper
call.Implementation of
MappingResult
that indicates a failed mapping.Implementation of
MappingResult
that indicates a successful mapping, where no data was lost during mapping.Implementation of
MappingResult
that indicates a successful mapping, where data may be lost during mapping.Common type of
MappingResult
for the successful result types MappingResult.Lossless
and MappingResult.Lossy
.The main entrypoint of the proteus library.
Builder for
Proteus
instances.The
ProteusBuilder.ConflictStrategy
to use if a duplicate path registration happens.The
ProteusBuilder.DefaultMapper
s to register.Representation of a type that can be converted from and into.
The purpose of this class is to enable capturing and passing a generic
Type
.