Package dmx.fun


package dmx.fun
  • Class
    Description
    An immutable pair of a computed value A and a side-channel accumulation E.
    A functional interface representing an operation that accepts a single input argument, returns no result, and may throw a checked exception.
    A functional interface representing a function that accepts one argument, produces a result, and may throw a checked exception.
    A functional interface representing a runnable that may throw a checked exception.
    A functional interface representing a supplier that can produce a value and may throw a checked exception.
    Either<L,R>
    A disjoint union that is either a Either.Left or a Either.Right.
    The left variant of Either.
    The right variant of Either.
    A named, composable predicate that produces a Validated result when applied to a value.
    Lazy<T>
    A lazily evaluated value that is computed at most once.
    An immutable, non-empty list: a list guaranteed at construction time to contain at least one element.
    An immutable, non-empty map: a map guaranteed at construction time to contain at least one entry.
    An immutable, non-empty set: a set guaranteed at construction time to contain at least one element.
    Option<Value>
    A sealed interface representing an optional value with two possible states: either a value is present ("Some") or absent ("None").
    Represents a variant of the Option type that signifies the absence of a value.
    Represents a container object that holds a non-null value.
    QuadFunction<A,B,C,D,R>
    A functional interface for a function that accepts four arguments and produces a result.
    A functional managed resource: a value that must be acquired before use and released afterward.
    Result<Value,Error>
    A generic sealed interface representing a result type that can either be a successful value (Result.Ok) or an error (Result.Err).
    Result.Err<Value,Error>
    Represents an erroneous result containing an error of type Error.
    Result.Ok<Value,Error>
    Represents a successful result containing a value of type Value.
    A typed container holding the two partitions produced by Result.partitioningBy().
    TriFunction<A,B,C,R>
    A functional interface for a function that accepts three arguments and produces a result.
    Try<Value>
    A monadic type that represents a computation that may either result in a value (Try.Success) or throw an exception (Try.Failure).
    Represents a computational failure within a context that implements the Try interface.
    Represents a successful computation result within the Try monad pattern.
    Tuple2<A,B>
    An immutable tuple holding two values of potentially different types.
    Tuple3<A,B,C>
    An immutable triple holding three values of potentially different types.
    Tuple4<A,B,C,D>
    An immutable quadruple holding four values of potentially different types.
    A sealed interface representing a validated value that can either be a successful value (Validated.Valid) or an error (Validated.Invalid).
    Represents an invalid result containing an error of type E.
    Represents a valid result containing a value of type A.