Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPredecessor (0.1 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
        if (dstIndex < srcIndex) {
          setSucceeds(getPredecessor(srcIndex), dstIndex);
          setSucceeds(dstIndex, getSuccessor(srcIndex));
        }
        setLink(srcIndex, 0);
      }
    
      @Override
      void resizeEntries(int newCapacity) {
        super.resizeEntries(newCapacity);
        links = Arrays.copyOf(requireLinks(), newCapacity);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      @Override
      void moveLastEntry(int dstIndex, int mask) {
        int srcIndex = size() - 1;
        super.moveLastEntry(dstIndex, mask);
    
        setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
        if (dstIndex < srcIndex) {
          setSucceeds(getPredecessor(srcIndex), dstIndex);
          setSucceeds(dstIndex, getSuccessor(srcIndex));
        }
        requirePredecessors()[srcIndex] = 0;
        requireSuccessors()[srcIndex] = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top