Top Description Fields Constructors Methods
com.carrotsearch.hppc

public final Class Containers

extends Object
Class Inheritance
Imports
com.carrotsearch.hppc.internals.SuppressForbidden, java.security.PrivilegedAction, java.util.logging.Level, .Logger

Constants used as defaults in containers.
See Also
HashContainers

Field Summary

Modifier and TypeField and Description
public static final int
DEFAULT_EXPECTED_ELEMENTS

The default number of expected elements for containers.

private static final String
NOT_AVAILABLE

Unique marker for testsSeedProperty.

private static String
testsSeedProperty

External initial seed value.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static long
randomSeed64()

Provides a (possibly) random initial seed for randomized stuff.

pack-priv static void
test$reset()

Reset state for tests.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_EXPECTED_ELEMENTSback to summary
public static final int DEFAULT_EXPECTED_ELEMENTS

The default number of expected elements for containers.

NOT_AVAILABLEback to summary
private static final String NOT_AVAILABLE

Unique marker for testsSeedProperty.

testsSeedPropertyback to summary
private static String testsSeedProperty

External initial seed value. We do not care about multiple assignments so not volatile.

See Also
randomSeed64()

Constructor Detail

Containersback to summary
private Containers()

Method Detail

randomSeed64back to summary
public static long randomSeed64()

Provides a (possibly) random initial seed for randomized stuff.

If tests.seed property is available and accessible, the returned value will be derived from the value of that property and will be constant to ensure reproducibility in presence of the randomized testing package.

Annotations
@SuppressForbidden
See Also
https://github.com/carrotsearch/randomizedtesting
test$resetback to summary
pack-priv static void test$reset()

Reset state for tests.