Class CollectionCreator
- java.lang.Object
-
- io.smallrye.graphql.execution.datafetcher.CollectionCreator
-
public class CollectionCreator extends Object
Helping with creating collection instances This gets the new collection when creating arguments to call the method. We get a Collection from graph-ql java, and we go through all elements, potentially transforming them, and then we need to create a new collection of the correct type to call the method via reflection.- Author:
- Phillip Kruger ([email protected])
-
-
Constructor Summary
Constructors Constructor Description CollectionCreator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<?>
newCollection(String className, int initialSize)
-
-
-
Method Detail
-
newCollection
public static Collection<?> newCollection(String className, int initialSize)
-
-