A - the type of the array or collection to create a constraint forS - the type of this builder's sourceT - the type of elements processed by this builder's constraintspublic final class ComponentConstraintsBuilder<S,A,T> extends AbstractConstraintsBuilder<S,A,T,ComponentConstraintsBuilder<S,A,T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentConstraintsBuilder.ComponentConstraint<A,T> |
source, sourceConstraints, type| Modifier and Type | Method and Description |
|---|---|
static <S,T> ComponentConstraintsBuilder<S,T[],T> |
array(S source,
java.util.List<Constraint<? super T[]>> sourceConstraints,
java.lang.Class<T> type) |
static <S,T,C extends java.util.Collection<T>> |
collection(S source,
java.util.List<Constraint<? super C>> sourceConstraints,
java.lang.Class<T> type) |
S |
finishComponent() |
public static <S,T> ComponentConstraintsBuilder<S,T[],T> array(S source, java.util.List<Constraint<? super T[]>> sourceConstraints, java.lang.Class<T> type)
public static <S,T,C extends java.util.Collection<T>> ComponentConstraintsBuilder<S,C,T> collection(S source, java.util.List<Constraint<? super C>> sourceConstraints, java.lang.Class<T> type)
public S finishComponent()