Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 985 for SuppressWarnings (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.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 ListRetainAllTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        return backingMap;
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      private <T extends B> @Nullable T trustedPut(
          TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return (T) backingMap.put(type, value);
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testAssignableParameterizedTypeToClass() {
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<List> tokL = new TypeToken<List>() {};
        assertTrue(tokL.isSupertypeOf(StringList.class));
        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      static final List<? extends Class<? extends AbstractTester>> TESTERS =
          asList(
              ConcurrentMapPutIfAbsentTester.class,
              ConcurrentMapRemoveTester.class,
              ConcurrentMapReplaceTester.class,
              ConcurrentMapReplaceEntryTester.class);
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableMap.java

        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible
        @GwtIncompatible
            Object writeReplace() {
          return super.writeReplace();
        }
    
        // No longer used for new writes, but kept so that old data can still be read.
        @GwtIncompatible
        @J2ktIncompatible
        @SuppressWarnings("unused")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                          @SuppressWarnings("unchecked")
                          Entry<Range<Integer>, String> entry = (Entry<Range<Integer>, String>) o;
                          rangeMap.put(entry.getKey(), entry.getValue());
                        }
                        return rangeMap.asMapOfRanges();
                      }
    
                      @SuppressWarnings("unchecked")
                      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            }
            return pattern.matcher(userCode).matches();
        }
    
        String getQueryCollapseInnerHitsSorts();
    
        @SuppressWarnings("rawtypes")
        default OptionalThing<SortBuilder[]> getQueryCollapseInnerHitsSortBuilders() {
            @SuppressWarnings("unchecked")
            OptionalThing<SortBuilder[]> ot = (OptionalThing<SortBuilder[]>) propMap.get(QUERY_COLLAPSE_INNER_HITS_SORTS);
            if (ot == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

    /**
     * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already
     * backed by an {@code ImmutableList} or array.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    class RegularImmutableAsList<E> extends ImmutableAsList<E> {
      private final ImmutableCollection<E> delegate;
      private final ImmutableList<? extends E> delegateList;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

            mapEntry("five", "May"));
      }
    
      @Override
      public Map<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(Integer.valueOf(0), result.get(0));
        assertEquals(Integer.valueOf(1), result.get(1));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread.sleep
      @SuppressWarnings("DoNotCall")
      public void testMemoizeWithExpiration_longTimeUnit() throws InterruptedException {
        CountingSupplier countingSupplier = new CountingSupplier();
    
        Supplier<Integer> memoizedSupplier =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top