Package de.srsoftware.tools
Schnittstelle Result<T>
- Typparameter:
T- The expected type of the result payload
public interface Result<T>
This interface can be used as a result type for functions that may return something or an error.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanisError()Indicate, whether a given result is an error.
-
Methodendetails
-
isError
boolean isError()Indicate, whether a given result is an error.- Gibt zurück:
- true, only it the returned value denotes an error.
-