public static class MetroCollector.Default<T> extends java.lang.Object implements MetroCollector<T>
MetroCollector.Default<T>, MetroCollector.NullCollector<T>
NULL
Constructor and Description |
---|
Default() |
Default(java.util.List<T> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(T value) |
java.util.List<T> |
get() |
public Default()
public Default(java.util.List<T> list)
public java.util.List<T> get()
get
in interface MetroCollector<T>
public void add(T value)
add
in interface MetroCollector<T>