public class EventAggregators
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static EventAggregator<java.lang.Integer,java.lang.Integer> |
INTEGER_ADD
An EventAggregator that coalesces integer data obtained via calls to
CustomDispatchSource.merge(Object). |
static EventAggregator<java.lang.Integer,java.lang.Integer> |
INTEGER_OR
An EventAggregator that coalesces integer data obtained via calls to
CustomDispatchSource.merge(Object). |
static EventAggregator<java.lang.Long,java.lang.Long> |
LONG_ADD
An EventAggregator that coalesces long data obtained via calls to
CustomDispatchSource.merge(Object). |
static EventAggregator<java.lang.Long,java.lang.Long> |
LONG_OR
An EventAggregator that coalesces long data obtained via calls to
CustomDispatchSource.merge(Object). |
| Constructor and Description |
|---|
EventAggregators() |
| Modifier and Type | Method and Description |
|---|---|
static <T> EventAggregator<T,java.util.HashSet<T>> |
hashSet()
An EventAggregator that coalesces object data obtained via calls to
CustomDispatchSource.merge(Object) into a hash set. |
static <T> EventAggregator<T,java.util.LinkedList<T>> |
linkedList()
An EventAggregator that coalesces object data obtained via calls to
CustomDispatchSource.merge(Object) into a linked list. |
public static final EventAggregator<java.lang.Integer,java.lang.Integer> INTEGER_ADD
CustomDispatchSource.merge(Object). Addition is used to coalesce the data.public static final EventAggregator<java.lang.Long,java.lang.Long> LONG_ADD
CustomDispatchSource.merge(Object). Addition is used to coalesce the data.public static final EventAggregator<java.lang.Integer,java.lang.Integer> INTEGER_OR
CustomDispatchSource.merge(Object). Bit-wise or is used to coalesce the data.public static final EventAggregator<java.lang.Long,java.lang.Long> LONG_OR
CustomDispatchSource.merge(Object). Bit-wise or is used to coalesce the data.public static <T> EventAggregator<T,java.util.LinkedList<T>> linkedList()
CustomDispatchSource.merge(Object) into a linked list.public static <T> EventAggregator<T,java.util.HashSet<T>> hashSet()
CustomDispatchSource.merge(Object) into a hash set.