Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cumulativeCounts (0.11 sec)

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

          RegularImmutableSortedSet<E> elementSet, long[] cumulativeCounts, int offset, int length) {
        this.elementSet = elementSet;
        this.cumulativeCounts = cumulativeCounts;
        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          long[] cumulativeCounts = new long[length + 1];
          for (int i = 0; i < length; i++) {
            cumulativeCounts[i + 1] = cumulativeCounts[i] + counts[i];
          }
          forceCopyElements = true;
          return new RegularImmutableSortedMultiset<E>(elementSet, cumulativeCounts, 0, length);
        }
      }
    
      @J2ktIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top