Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for estimatedSizeForUnknownDuplication (0.65 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
            elements instanceof Set ? array.length : estimatedSizeForUnknownDuplication(array.length);
        return fromArrayWithExpectedSize(array, expectedSize);
      }
    
      /**
       * Returns an immutable set containing each of {@code elements}, minus duplicates, in the order
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top