Add missing Javadoc.

This commit is contained in:
Gary Gregory 2021-02-25 18:08:18 -05:00
parent 038696c154
commit 9ac45f0efc
1 changed files with 8 additions and 0 deletions

View File

@ -440,6 +440,9 @@ public class Streams {
}
/**
* A Collector type for arrays.
*
* @param <O> The array type.
* @deprecated Use {@link org.apache.commons.lang3.stream.Streams.ArrayCollector}.
*/
@Deprecated
@ -447,6 +450,11 @@ public class Streams {
private static final Set<Characteristics> characteristics = Collections.emptySet();
private final Class<O> elementType;
/**
* Constructs a new instance for the given element type.
*
* @param elementType The element type.
*/
public ArrayCollector(final Class<O> elementType) {
this.elementType = elementType;
}