Package | Description |
---|---|
org.hibernate.validator.internal.util |
Independent helper classes.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,List<V>> |
CollectionHelper.partition(List<V> list,
CollectionHelper.Partitioner<K,V> partitioner)
Creates a map containing the given list's values partitioned by the given
partitioner.
|
static <K,V> Map<K,Set<V>> |
CollectionHelper.partition(Set<V> set,
CollectionHelper.Partitioner<K,V> partitioner)
Creates a map containing the given set's values partitioned by the given
partitioner.
|
Copyright © 2007-2017 Red Hat, Inc. All Rights Reserved