Record Class Success<T>

java.lang.Object
java.lang.Record
info.jab.util.result.Success<T>
Type Parameters:
T - the type of the value returned in a successful computation
Record Components:
value - the value resulting from a successful computation
All Implemented Interfaces:
Result<T>

public record Success<T>(T value) extends Record implements Result<T>
Record representing a successful Result in the Result.

This record encapsulates the successful state of a computation within the Result, holding the value resulting from a successful computation.