public interface GroupingTable<K,InputT,AccumT>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GroupingTable.Receiver
Abstract interface of things that accept inputs one at a time via process().
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush(GroupingTable.Receiver output)
Flushes all entries in this table to output.
|
void |
put(java.lang.Object pair,
GroupingTable.Receiver receiver)
Adds a pair to this table, possibly flushing some entries to output if the table is full.
|
void put(java.lang.Object pair,
GroupingTable.Receiver receiver)
throws java.lang.Exception
java.lang.Exceptionvoid flush(GroupingTable.Receiver output) throws java.lang.Exception
java.lang.Exception