Package com.codesseur.validation
Class Conditions<V>
- java.lang.Object
-
- com.codesseur.validation.Conditions<V>
-
- All Implemented Interfaces:
com.codesseur.iterate.container.CollectionContainer<Condition<V>,List<Condition<V>>>,com.codesseur.iterate.container.Container<Condition<V>,List<Condition<V>>>,com.codesseur.iterate.container.Sequence<Condition<V>>,com.codesseur.iterate.Streamed<Condition<V>>,com.codesseur.MicroType<List<Condition<V>>>,AutoCloseable,Iterable<Condition<V>>,BaseStream<Condition<V>,Stream<Condition<V>>>,Stream<Condition<V>>
@Immutable public abstract class Conditions<V> extends Object implements com.codesseur.iterate.container.Sequence<Condition<V>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description Conditions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <W> Conditions<W>asPrevious()io.vavr.Lazy<io.vavr.control.Either<Failures,Success>>current()static <V> Conditions<V>empty()<W> Conditions<W>otherwiseThrow(Function<? super Failures,? extends RuntimeException> otherwise)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.codesseur.iterate.container.CollectionContainer
applyIfNotEmpty, contains, containsBy, isEmpty, isNotEmpty, notContains, notContainsBy, size, stream
-
Methods inherited from interface com.codesseur.MicroType
accept, apply, hasValue, matches, toOptional, toStream, with
-
Methods inherited from interface com.codesseur.iterate.container.Sequence
get, toOptional, trim, trimLeft, trimRight
-
Methods inherited from interface com.codesseur.iterate.Streamed
absoluteClosest, addAt, allMatch, anyMatch, append, append, append, close, closest, collect, collect, collect, contains, count, distinct, distinctBy, distinctBy, filter, find, findAny, findFirst, flatMap, flatMapIterable, flatMapSticky, flatMapToDouble, flatMapToInt, flatMapToLong, foldLeft, foldLeft, foldRight, foldRight, forEach, forEachOrdered, groupBy, groupBy, head, ifNotEmpty, innerZip, isParallel, iterator, join, last, leftClosest, leftOuterZip, limit, map, map, map, mapFirst, mapFirstOtherwise, mapLast, mapLastOtherwise, mapPartial, mapToDouble, mapToInt, mapToLong, mapTry, mapTryOtherwise, max, min, minus, minus, minusBy, minusBy, noneMatch, onClose, outerZip, parallel, peek, prepend, prepend, prepend, project, reduce, reduce, reduce, removeIf, replaceIf, replaceIf, replaceIfOr, replaceIfOrAppend, rightClosest, rightOuterZip, safeCast, safeCast, sequential, skip, sorted, sorted, spliterator, tail, take, toArray, toArray, toBag, toBag, toDictionary, toDictionary, toList, toListThen, toMap, toMap, toOptionals, toSequence, toSequence, toSet, toSetThen, unordered, zip, zipWithIndex
-
-
-
-
Method Detail
-
empty
public static <V> Conditions<V> empty()
-
asPrevious
public <W> Conditions<W> asPrevious()
-
otherwiseThrow
public <W> Conditions<W> otherwiseThrow(Function<? super Failures,? extends RuntimeException> otherwise)
-
-