PCJ API
Version 1.2

bak.pcj.benchmark
Interface IntSetFactory


public interface IntSetFactory

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

Since:
1.0

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

Method Detail

create

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

Parameters:
elements - the elements that the resulting set will contain.
Returns:
a set 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