Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fromArrayWithExpectedSize (0.15 sec)

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

       * @since 3.0
       */
      public static <E> ImmutableSet<E> copyOf(E[] elements) {
        return fromArrayWithExpectedSize(elements, estimatedSizeForUnknownDuplication(elements.length));
      }
    
      private static <E> ImmutableSet<E> fromArrayWithExpectedSize(E[] elements, int expectedSize) {
        switch (elements.length) {
          case 0:
            return of();
          case 1:
    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