K - Key typeV - Value typeclass GroupingImpl<K,V> extends AbstractEnumerable<V> implements Grouping<K,V>, Map.Entry<K,Enumerable<V>>
Grouping.| Modifier and Type | Field and Description |
|---|---|
private K |
key |
private Collection<V> |
values |
| Constructor and Description |
|---|
GroupingImpl(K key,
Collection<V> values) |
| Modifier and Type | Method and Description |
|---|---|
Enumerator<V> |
enumerator()
Returns an enumerator that iterates through a collection.
|
boolean |
equals(Object obj) |
K |
getKey()
Gets the key of this Grouping.
|
Enumerable<V> |
getValue() |
int |
hashCode() |
Enumerable<V> |
setValue(Enumerable<V> value) |
String |
toString() |
iteratoraggregate, aggregate, aggregate, all, any, any, asEnumerable, asOrderedQueryable, asQueryable, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, correlateJoin, count, count, createOrderedEnumerable, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, first, first, firstOrDefault, firstOrDefault, foreach, getThis, getThisOrdered, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, hashJoin, hashJoin, hashJoin, hashJoin, intersect, intersect, into, last, last, lastOrDefault, lastOrDefault, longCount, longCount, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, ofType, orderBy, orderBy, orderByDescending, orderByDescending, removeAll, reverse, select, select, selectMany, selectMany, selectMany, selectMany, sequenceEqual, sequenceEqual, single, single, singleOrDefault, singleOrDefault, skip, skipWhile, skipWhile, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, thenBy, thenBy, thenByDescending, thenByDescending, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zipclone, finalize, getClass, notify, notifyAll, wait, wait, waitasQueryableforEach, iterator, spliteratoraggregate, aggregate, aggregate, all, any, any, asEnumerable, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, correlateJoin, count, count, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, first, first, firstOrDefault, firstOrDefault, foreach, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, hashJoin, hashJoin, hashJoin, hashJoin, intersect, intersect, into, last, last, lastOrDefault, lastOrDefault, longCount, longCount, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, ofType, orderBy, orderBy, orderByDescending, orderByDescending, removeAll, reverse, select, select, selectMany, selectMany, selectMany, selectMany, sequenceEqual, sequenceEqual, single, single, singleOrDefault, singleOrDefault, skip, skipWhile, skipWhile, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zipcomparingByKey, comparingByKey, comparingByValue, comparingByValueprivate final K key
private final Collection<V> values
GroupingImpl(K key, Collection<V> values)
public int hashCode()
Computes hash code consistent with
Map.Entry.hashCode().
public boolean equals(Object obj)
public Enumerable<V> getValue()
getValue in interface Map.Entry<K,Enumerable<V>>public Enumerable<V> setValue(Enumerable<V> value)
setValue in interface Map.Entry<K,Enumerable<V>>public Enumerator<V> enumerator()
RawEnumerableenumerator in interface RawEnumerable<V>Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.