Interface Validated<T>

Type Parameters:
T - the type of value being validated
All Superinterfaces:
Iterable<Validated<T>>
All Known Implementing Classes:
Validated.Both, Validated.Either, Validated.Invalid, Validated.Missing, Validated.None, Validated.Secret, Validated.Valid

public interface Validated<T> extends Iterable<Validated<T>>
A container object which may or may not contain a valid value. If a value is valid, isValid() returns true. If the value is invalid, the object is considered invalid and isValid() returns false.