java.lang.Object
net.i2p.util.SimpleByteCache.IntCacheMap.Table
Enclosing class:
SimpleByteCache.IntCacheMap

private static final class SimpleByteCache.IntCacheMap.Tableextends Object
Replaced wholesale on growth, so a reader always sees a complete one.
  • Field Details

    • mask

      private final int mask
      Mask hashing keys into the table.
    • keys

      private final int[] keys
      The keys stored in the table.
    • vals

      The caches stored in the table.
  • Constructor Details

    • Table

      Table(int capacity)
      Builds an empty hash table.
      Parameters:
      capacity - slots in the table