public class CarelessTypeConverter<T,S> extends java.lang.Object implements Function1<T,S>
Constructor and Description |
---|
CarelessTypeConverter(FragileTypeConverter<T,S> wrapped,
T defaultValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
apply(S object)
Convert an object to another type.
|
void |
clear()
Clear the latest exception.
|
TypeConverterException |
getLatestException()
Get the latest exception caught during conversion.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
after, andThen, applyNonNull, applyOrDefault, fallback, fallback, from, from, nonFragile, nonFragile, nonFragileX, partial, withFallback
@Nullable public TypeConverterException getLatestException()
public void clear()