V
public interface Collector<V>
void
add(V value)
default void
flush()
void add(V value)
value
default void flush()
This method should be called after a call or series of calls to add(V).
add(V)
Copyright © 2000, 2023, Oracle and/or its affiliates. All rights reserved.