java.lang.Object
net.i2p.util.SimpleByteCache.ByteArrayFactory
All Implemented Interfaces:
TryCache.ObjectFactory<byte[]>
Enclosing class:
SimpleByteCache

private static class SimpleByteCache.ByteArrayFactoryextends Object implements TryCache.ObjectFactory<byte[]>
Factory for cached byte arrays.
  • Field Details

    • sz

      private final int sz
      Size of the arrays this factory makes.
  • Constructor Details

    • ByteArrayFactory

      ByteArrayFactory(int entrySize)
      Builds the array factory.
      Parameters:
      entrySize - the size of the arrays to make
  • Method Details