Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Comparable (0.17 sec)

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

       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
      public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf(
          Iterable<? extends E> elements) {
        Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]);
        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return unsafeDelegateList((List) Arrays.asList(elements));
      }
    
      public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf(
          Iterable<? extends E> elements) {
        Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]);
        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
      public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf(
          Iterable<? extends E> elements) {
        Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]);
        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top