Class SVNVDeltaAlgorithm.SlotsTable

  • Enclosing class:
    SVNVDeltaAlgorithm

    private static class SVNVDeltaAlgorithm.SlotsTable
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SlotsTable()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static int[] allocate​(int[] array, int length)  
      int getBucket​(int bucketIndex)  
      int getBucketIndex​(byte[] data, int index)  
      void reset​(int dataLength)  
      void storeSlot​(byte[] data, int slotIndex)  
      • Methods inherited from class java.lang.Object

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

      • mySlots

        private int[] mySlots
      • myBuckets

        private int[] myBuckets
      • myBucketsCount

        private int myBucketsCount
    • Constructor Detail

      • SlotsTable

        public SlotsTable()
    • Method Detail

      • reset

        public void reset​(int dataLength)
      • getBucketIndex

        public int getBucketIndex​(byte[] data,
                                  int index)
      • getBucket

        public int getBucket​(int bucketIndex)
      • storeSlot

        public void storeSlot​(byte[] data,
                              int slotIndex)
      • allocate

        private static int[] allocate​(int[] array,
                                      int length)