Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for calculateSize (0.04 seconds)

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

        OrderedPermutationCollection(Iterable<E> input, Comparator<? super E> comparator) {
          this.inputList = ImmutableList.sortedCopyOf(comparator, input);
          this.comparator = comparator;
          this.size = calculateSize(inputList, comparator);
        }
    
        /**
         * The number of permutations with repeated elements is calculated as follows:
         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
Back to Top