Package com.tangosol.util
Class NullImplementation.NullCollector<V>
java.lang.Object
com.tangosol.util.NullImplementation.NullCollector<V>
- Type Parameters:
V
- the value type
- All Implemented Interfaces:
Collector<V>
- Enclosing class:
NullImplementation
A
Collector
implementation that does nothing.-
Field Summary
Modifier and TypeFieldDescriptionstatic final NullImplementation.NullCollector
Singleton (unchecked) instance of a Collector. -
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCE
Singleton (unchecked) instance of a Collector.
-
-
Constructor Details
-
NullCollector
public NullCollector()
-
-
Method Details
-
add
Notify the collector of a item of interest. -
flush
public void flush()Request processing of any added values.This method should be called after a call or series of calls to
Collector.add(V)
.
-