Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for id (0.12 sec)

  1. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      }
    
      private static final class ThrowingTearDown implements TearDown {
    
        private final String id;
        boolean ran = false;
    
        ThrowingTearDown(String id) {
          this.id = id;
        }
    
        @Override
        public void tearDown() throws Exception {
          ran = true;
          throw new RuntimeException(id);
        }
      }
    
      private static final class SimpleTearDown implements TearDown {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
        final Type capture(Type type) {
          checkNotNull(type);
          if (type instanceof Class) {
            return type;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "erat. Proin cursus commodo lacus eget congue. Aliquam erat volutpat. Fusce ut leo sed "
              + "risus tempor vehicula et a odio. Nam aliquet dolor viverra libero rutrum accumsan "
              + "quis in augue. Suspendisse id dui in lorem tristique placerat eget vel risus. Sed "
              + "metus neque, scelerisque in molestie ac, mattis quis lectus. Pellentesque viverra "
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertEquals(ImmutableSet.of(immutableEntry(key2, value2)), cache.asMap().entrySet());
        }
      }
    
      // fails in Maven with 64-bit JDK: http://code.google.com/p/guava-libraries/issues/detail?id=1568
    
      private void assertCleanup(
          LoadingCache<Integer, String> cache,
          CountingRemovalListener<Integer, String> removalListener) {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
        // See http://code.google.com/p/guava-libraries/issues/detail?id=1176
    
        InternetDomainName domain = InternetDomainName.from("www.essex.sch.uk");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("essex.sch.uk", domain.publicSuffix().toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutAllNullKeyUnsupportedMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddAllNullUnsupportedMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      }
    
      private static final class ThrowingTearDown implements TearDown {
    
        private final String id;
        boolean ran = false;
    
        ThrowingTearDown(String id) {
          this.id = id;
        }
    
        @Override
        public void tearDown() throws Exception {
          ran = true;
          throw new RuntimeException(id);
        }
      }
    
      private static final class SimpleTearDown implements TearDown {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained#comparecompareto">{@code
     * ComparisonChain}</a>.
     *
     * <h4 id="java8">Java 8+ equivalents</h4>
     *
     * If you are using Java version 8 or greater, you should generally use the static methods in {@link
     * Comparator} instead of {@code ComparisonChain}. The example above can be implemented like this:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSink.java

        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top