All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.exparity.test.builder.ArrayFactory Maven / Gradle / Ivy

/*
 * Copyright (c) Modular IT Limited.
 */
package org.exparity.test.builder;

/**
 * Interface to be implemented by classes which can provide arrays of values to a {@link BeanBuilder}
 * 
 * @author Stewart Bissett
 */
public interface ArrayFactory {

	/**
	 * Create an array of type T.
	 * @param type the scalar type the array will be composed of
	 * @param size the size of the array to create
	 * @return an array of type T
	 */
	public T[] createValue(final Class type, final int size);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy