java.lang.Object
net.i2p.util.ByteCache.ByteArrayFactory
All Implemented Interfaces:
TryCache.ObjectFactory<ByteArray>
Enclosing class:
ByteCache

private static class ByteCache.ByteArrayFactoryextends Object implements TryCache.ObjectFactory<ByteArray>
Factory for cached byte arrays.
  • Field Details

    • sz

      private final int sz
      The size of the arrays made.
  • Constructor Details

    • ByteArrayFactory

      ByteArrayFactory(int entrySize)
      Makes arrays of one size.
      Parameters:
      entrySize - the size of the arrays
  • Method Details