Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,007 for SuppressWarnings (0.07 sec)

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

          return this;
        } else {
          return new SubRangeMap(subRange);
        }
      }
    
      @SuppressWarnings("unchecked")
      private RangeMap<K, V> emptySubRangeMap() {
        return (RangeMap<K, V>) (RangeMap<?, ?>) EMPTY_SUB_RANGE_MAP;
      }
    
      @SuppressWarnings("ConstantCaseForConstants") // This RangeMap is immutable.
      private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMapValues.java

          }
    
          @Override
          ImmutableCollection<V> delegateCollection() {
            return ImmutableMapValues.this;
          }
    
          // redeclare to help optimizers with b/310253115
          @SuppressWarnings("RedundantOverride")
          @Override
          @J2ktIncompatible
          @GwtIncompatible
                Object writeReplace() {
            return super.writeReplace();
          }
        };
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        executor.shutdown();
      }
    
      public void testCallableStartsAfterFirstFutureCompletes() {
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor());
        TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null));
        @SuppressWarnings({"unused", "nullness"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements;
          if (!original.isPartialView()) {
            return original;
          }
        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                final Object boost = sourceArray[i].get(ELEVATE_WORD_BOOST);
                @SuppressWarnings("unchecked")
                final List<String> readings = (List<String>) sourceArray[i].get(ELEVATE_WORD_READING);
                @SuppressWarnings("unchecked")
                final List<String> fields = (List<String>) sourceArray[i].get(ELEVATE_WORD_FIELDS);
                @SuppressWarnings("unchecked")
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

          }
        };
      }
    
      /**
       * Returns a fluent iterable containing no elements.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code Stream.empty()}.
       *
       * @since 20.0
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

          }
        };
      }
    
      /**
       * Returns a fluent iterable containing no elements.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#empty}.
       *
       * @since 20.0
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

        @Override
        public String getMethodName() {
            return methodName;
        }
    
        @Override
        public Class<?>[] getParameterTypes() {
            return parameterTypes;
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> Class<T> getReturnType() {
            return (Class<T>) returnType;
        }
    
        @Override
        public boolean isPublic() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    @SuppressWarnings("unused") // Nested enums used reflectively in setUp.
    @NullUnmarked
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top