Package net.groboclown.retval
Combine values with problems associated with the values.
-
Interface Summary Interface Description Problem A standard problem that prevents a valid value from being returned.ProblemContainer An object that contains problems.RetNullable<T> A problem container that contains a nullable value or problems, but not both.RetVal<T> A non-null value holder version of a problem container.RetVoid A simple returnable that can have problems, but no value.SourcedProblem A problem that includes a known source.ValuedProblemContainer<T> A generic type that contains a value and possible problems. -
Class Summary Class Description ProblemCollector Collects problems from multiple requests to gather data.Ret Utility class for working with collections of return values.ValueAccumulator<T> Allows for accumulating a list of values, some of which may have errors associated with them.ValueBuilder<T> Contains a non-null value and accumulates problems as aspects of the value are updated.WarningVal<T> A container for a non-null value and associated problems.