public static class CollectionUtils.CollectionFactory extends Object
| 构造器和说明 |
|---|
CollectionFactory() |
public <E> Collection<E> create(Class<?> collectionType, int capacity)
E - the type parametercollectionType - the collection typecapacity - the capacitypublic <E> Collection<E> create(Class<?> collectionType, Class<?> elementType, int capacity)
E - the type parametercollectionType - the collection typeelementType - the element typecapacity - the capacityCopyright © 2020 dromara. All rights reserved.