Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,105 for SuppressWarnings (0.06 sec)

  1. android/guava/src/com/google/common/graph/NetworkBuilder.java

      public <N1 extends N, E1 extends E> MutableNetwork<N1, E1> build() {
        return new StandardMutableNetwork<>(this);
      }
    
      @SuppressWarnings("unchecked")
      private <N1 extends N, E1 extends E> NetworkBuilder<N1, E1> cast() {
        return (NetworkBuilder<N1, E1>) this;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    @SuppressWarnings("serial") // No serialization is used in this test
    public class IteratorTesterTest extends TestCase {
    
      public void testCanCatchDifferentLengthOfIteration() {
        IteratorTester<Integer> tester =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        forwarding.put("a", 1);
        assertEquals(immutableEntry("c", 3), forwarding.lastEntry());
        forwarding.remove("c");
        assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                NavigableMap.class,
                new Function<NavigableMap, NavigableMap>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/xml/XmlEscapers.java

       * output.
       *
       * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
       * validation on its input.
       */
      @SuppressWarnings("EscapedEntity") // We do mean for the user to see &#x9;" etc.
      public static Escaper xmlAttributeEscaper() {
        return XML_ATTRIBUTE_ESCAPER;
      }
      private static final Escaper XML_CONTENT_ESCAPER;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.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 abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/MediaType.java

      @LazyInit private @Nullable String toString;
    
      @LazyInit private int hashCode;
    
      // We need to differentiate between "not computed" and "computed to be absent."
      @SuppressWarnings("NullableOptional")
      @LazyInit
      private @Nullable Optional<Charset> parsedCharset;
    
      private MediaType(String type, String subtype, ImmutableListMultimap<String, String> parameters) {
        this.type = type;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * @throws IllegalStateException if the service manager reaches a state from which it cannot
       *     become {@linkplain #isHealthy() healthy}.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
        state.awaitHealthy(timeout, unit);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across
       * threads before it is initialized, then each thread is likely to compute their own copy of the
       * value.
       */
      @SuppressWarnings("Immutable")
      @LazyInit
      private int publicSuffixIndexCache = SUFFIX_NOT_INITIALIZED;
    
      /**
       * Cached value of #registrySuffixIndex(). Do not use directly.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * @throws IllegalStateException if the service manager reaches a state from which it cannot
       *     become {@linkplain #isHealthy() healthy}.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
        state.awaitHealthy(timeout, unit);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                        mavenHome,
                        userHome,
                        stdIn,
                        stdOut,
                        stdErr,
                        embedded);
            }
    
            @SuppressWarnings("ParameterNumber")
            private static class ParserRequestImpl implements ParserRequest {
                private final String command;
                private final String commandName;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top