Class Containers


  • public final class Containers
    extends java.lang.Object
    Constants used as defaults in containers.
    See Also:
    HashContainers
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULT_EXPECTED_ELEMENTS
      The default number of expected elements for containers.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long randomSeed64()
      Provides a (possibly) random initial seed for randomized stuff.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_EXPECTED_ELEMENTS

        public static final int DEFAULT_EXPECTED_ELEMENTS
        The default number of expected elements for containers.
        See Also:
        Constant Field Values
    • Method Detail

      • randomSeed64

        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.

        See Also:
        "https://github.com/carrotsearch/randomizedtesting"