K
- the generic type of the keys
.V
- the generic type of the values
.PARENT
- the generic type of the parent builder
.public class ValidatorBuilderMap<K,V,PARENT> extends AbstractMapValidatorBuilder<K,V,Map<K,V>,PARENT,ValidatorBuilderMap<K,V,PARENT>>
Constructor and Description |
---|
ValidatorBuilderMap(PARENT parent)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
ValidatorBuilderMap<K,V,PARENT> |
range(String min,
String max)
This method allows to define a range in a generic way.
|
build, max, size, size, withKeys, withValues
getSubFactory
add, and, getValidators, mandatory, self
public ValidatorBuilderMap<K,V,PARENT> range(String min, String max)
ObjectValidatorBuilder
CompareableValidatorBuilder.range(net.sf.mmm.util.value.api.Range)
instead.range
in class ObjectValidatorBuilder<Map<K,V>,PARENT,ValidatorBuilderMap<K,V,PARENT>>
min
- the minimum value allowed or null
for no lower bound.max
- the maximum value allowed or null
for no upper bound.Copyright © 2001–2016 mmm-Team. All rights reserved.