PCJ API
Version 1.2

bak.pcj.benchmark
Interface IntKeyMapFactory


public interface IntKeyMapFactory

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

Since:
1.0

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

Method Detail

create

public IntKeyMap create(int[] keys,
                        Integer[] values)
Creates a new instance of a map from int key to objects 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