T
- A type that this validation is being coerced to or joined with in a list of validators.public static class Validated.None<T> extends java.lang.Object implements Validated<T>
Validated.Either, Validated.Invalid<T>, Validated.None<T>, Validated.Secret, Validated.Valid<T>
Constructor and Description |
---|
None() |
Modifier and Type | Method and Description |
---|---|
<U> Validated<U> |
flatMap(java.util.function.BiFunction<T,Validated.Valid<T>,Validated<U>> mapping) |
T |
get() |
boolean |
isValid() |
java.util.Iterator<Validated<T>> |
iterator() |
<U> Validated<U> |
map(java.util.function.Function<T,U> mapping) |
T |
orElseGet(java.util.function.Supplier<T> t) |
void |
orThrow() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait