Package com.remondis.propertypath.api
Interface GetAndApply<I,O,T,E extends java.lang.Exception>
-
- Type Parameters:
I- The input object typeO- The property type.T- The type after applying the mapping function.E- The exception type that maybe thrown by the property path.
- All Superinterfaces:
Get<I,T,E>
- All Known Implementing Classes:
GetAndApplyImpl
public interface GetAndApply<I,O,T,E extends java.lang.Exception> extends Get<I,T,E>
A get access object that applies a mapping function if the getter has a non-null return value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetWithoutException<I,T>toJdk8()
-
-
-
Method Detail
-
toJdk8
GetWithoutException<I,T> toJdk8()
- Returns:
- Returns a get access object without the support for generic exceptions. This was introduced to provide a workaround for JDK 8, where a bug led to incorrect exception type inference.
-
-