Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for hacky (1.03 sec)

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

       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedMultisetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  2. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *
     * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
     * that affects users, especially users of the Android Gradle Plugin, since the plugin developers
     * put in a special hack for us: https://issuetracker.google.com/issues/131431257)
     */
    @DoNotMock("Use the methods in Futures (like immediateFuture) or SettableFuture")
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      // non-null instance of Ordering.natural().
      // (cpovirk: Is sortedDelegate's comparator really ever null?)
      // The comparator will likely also differ because of our nullAccepting hack.
      // See the bottom of the file for more information about it.
      private final transient Comparator<? super K> comparator;
    
      ImmutableSortedMap(SortedMap<K, V> delegate, Comparator<? super K> comparator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top