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, 2025, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.