Lines Matching refs:values
32 * An immutable {@link Multimap}. Does not permit null keys or values.
108 * value orderings, allows duplicate values, and performs better than
155 * Stores a collection of values with the same key in the built multimap.
157 * @throws NullPointerException if {@code key}, {@code values}, or any
158 * element in {@code values} is null. The builder is left in an invalid
161 public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
163 for (V value : values) {
170 * Stores an array of values with the same key in the built multimap.
175 public Builder<K, V> putAll(K key, V... values) {
176 return putAll(key, Arrays.asList(values));
182 * of the {@code multimap.asMap()} view, with new keys and values following
183 * any existing keys and values.
270 Iterable<? extends V> values) {
284 * Returns an immutable collection of the values for the given key. If no
286 * collection is returned. The values are in the same order as the parameters
305 public boolean putAll(K key, Iterable<? extends V> values) {
330 Collection<V> values = map.get(key);
331 return values != null && values.contains(value);
339 for (Collection<V> valueCollection : map.values()) {
384 * values in the multimap.
395 * iterator traverses the values for the first key, the values for the second
474 private transient ImmutableCollection<V> values;
477 * Returns an immutable collection of the values in this multimap. Its
478 * iterator traverses the values for the first key, the values for the second
481 public ImmutableCollection<V> values() {
482 ImmutableCollection<V> result = values;
483 return (result == null) ? (values = new Values<V>(this)) : result;
486 private static class Values<V> extends ImmutableCollection<V> {
489 Values(Multimap<?, V> multimap) {