Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 835 for SuppressWarnings (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

            };
    
        assertThat(loadCount.get()).isEqualTo(0);
        assertThat(reloadCount.get()).isEqualTo(0);
        assertThat(loadAllCount.get()).isEqualTo(0);
    
        Object unused1 = baseLoader.load(new Object());
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMapValues.java

            return true;
          }
    
          @Override
          public int size() {
            return entryList.size();
          }
    
          // redeclare to help optimizers with b/310253115
          @SuppressWarnings("RedundantOverride")
          @Override
          @J2ktIncompatible
          @GwtIncompatible
                Object writeReplace() {
            return super.writeReplace();
          }
        };
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

      private final Map<E, Integer> delegateMap;
      private final ImmutableList<Entry<E>> entries;
      private final long size;
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        @SuppressWarnings("unchecked")
        Entry<E>[] entriesArray = entries.toArray((Entry<E>[]) new Entry<?>[0]);
        Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length);
        long size = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ListMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractListMultimapTester<K, V> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ListMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractListMultimapTester<K, V> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapClearTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

     * around a {@link java.util.TreeMap}.
     *
     * @author Hayward Chan
     */
    public final class ImmutableSortedMap<K, V> extends ForwardingImmutableMap<K, V>
        implements SortedMap<K, V> {
    
      @SuppressWarnings("unchecked")
      static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      private final transient SortedMap<K, V> sortedDelegate;
    
      // The comparator used by this map.  It's the same as that of sortedDelegate,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        }
    
        // ----------------------------------------------------------------------
        // Public methods
        // ----------------------------------------------------------------------
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        public Object convert(final TypeLiteral role, final String value) {
            if (value.trim().startsWith("<")) {
                try {
                    final MXParser parser = new MXParser();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
      /** Returns an immutable range map mapping a single range to a single value. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Cut.java

     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
      final C endpoint;
    
      Cut(C endpoint) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top