public final class VCSCollectionUtils
extends java.lang.Object
Utility class for collection operations.
Modifier and Type | Method and Description |
---|---|
static java.lang.Object[] |
toArrayType(java.util.Collection<?> c,
java.lang.Class type)
Converts the given collection to an array with the specified component
type.
|
public static final java.lang.Object[] toArrayType(java.util.Collection<?> c, java.lang.Class type)
c
- a collection to convert.type
- a target array component type.