Interface Hash


public interface Hash
Basic data for all hash-based classes.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A generic hash strategy.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
    static final int
    The initial default size of a hash table.
    static final float
    The default load factor of a hash table.
    static final float
    The load factor for a (usually small) table that is meant to be particularly fast.
    static final byte
    Deprecated.
    static final byte
    Deprecated.
    static final int[]
    Deprecated.
    static final byte
    Deprecated.
    static final float
    The load factor for a (usually very small) table that is meant to be extremely fast.
  • Field Details

    • DEFAULT_INITIAL_SIZE

      static final int DEFAULT_INITIAL_SIZE
      The initial default size of a hash table.
      See Also:
    • DEFAULT_LOAD_FACTOR

      static final float DEFAULT_LOAD_FACTOR
      The default load factor of a hash table.
      See Also:
    • FAST_LOAD_FACTOR

      static final float FAST_LOAD_FACTOR
      The load factor for a (usually small) table that is meant to be particularly fast.
      See Also:
    • VERY_FAST_LOAD_FACTOR

      static final float VERY_FAST_LOAD_FACTOR
      The load factor for a (usually very small) table that is meant to be extremely fast.
      See Also:
    • DEFAULT_GROWTH_FACTOR

      @Deprecated static final int DEFAULT_GROWTH_FACTOR
      Deprecated.
      The default growth factor of a hash table.
      See Also:
    • FREE

      @Deprecated static final byte FREE
      Deprecated.
      The state of a free hash table entry.
      See Also:
    • OCCUPIED

      @Deprecated static final byte OCCUPIED
      Deprecated.
      The state of a occupied hash table entry.
      See Also:
    • REMOVED

      @Deprecated static final byte REMOVED
      Deprecated.
      The state of a hash table entry freed by a deletion.
      See Also:
    • PRIMES

      @Deprecated static final int[] PRIMES
      Deprecated.
      A list of primes to be used as table sizes. The i-th element is the largest prime p smaller than 2(i+28)/16 and such that p-2 is also prime (or 1, for the first few entries).