PCJ API
Version 1.2

bak.pcj.benchmark
Interface IntListFactory


public interface IntListFactory

This interface represents factories of lists of int values. It is used with the IntListBenchmark class for producing set objects.

Since:
1.0

Method Summary
 IntList create(int[] elements)
          Creates a new instance of a list of int values initially containing the specified elements.
 

Method Detail

create

public IntList create(int[] elements)
Creates a new instance of a list of int values initially containing the specified elements.

Parameters:
elements - the elements that the resulting list will contain.
Returns:
a list of int values containing the specified elements.
Throws:
NullPointerException - if elements is null.

PCJ API
Version 1.2

Report a bug or request a feature.
Further information on the development and latest release of PCJ can be found at the project homepage.

Primitive Collections for Java is released under the GNU Lesser General Public License.
Copyright © 2002, 2003 Søren Bak. All Rights Reserved.

Hosted by SourceForge.net
SourceForge.net Logo