PCJ API
Version 1.2

bak.pcj.benchmark
Interface IntKeyIntMapFactory


public interface IntKeyIntMapFactory

This interface represents factories of maps of int values. It is used with the IntKeyIntMapBenchmark class for producing map objects.

Since:
1.0

Method Summary
 IntKeyIntMap create(int[] keys, int[] values)
          Creates a new instance of a map from int key to int values initially containing the specified elements.
 

Method Detail

create

public IntKeyIntMap create(int[] keys,
                           int[] values)
Creates a new instance of a map from int key to int values initially containing the specified elements.

Parameters:
keys - the keys that the resulting set will contain.
values - the values that the resulting set will contain.
Returns:
a map of int keys/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