Schnittstelle Result<T>

Typparameter:
T - The expected type of the result payload
Alle bekannten Implementierungsklassen:
Error, 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 Typ
    Methode
    Beschreibung
    boolean
    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.