Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for copyOfInternal (0.14 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        return copyOfInternal((Ordering<E>) Ordering.natural(), (Collection<E>) elements, false);
      }
    
      // Unsafe, see ImmutableSortedSetFauxverideShim.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) {
        return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterable<E>) elements, false);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      public static <K, V> ImmutableSortedMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        return copyOfInternal((Map<K, V>) map, (Ordering<K>) Ordering.natural());
      }
    
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
        return copyOfInternal(map, checkNotNull(comparator));
      }
    
      // Unsafe, see ImmutableSortedMapFauxverideShim.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

        // Hack around K not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER;
        return copyOfInternal(map, naturalOrder);
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, with keys sorted by the
       * provided comparator.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        // Hack around K not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER;
        return copyOfInternal(map, naturalOrder);
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, with keys sorted by the
       * provided comparator.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top