Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,303 for clauses (0.18 sec)

  1. guava/src/com/google/common/hash/ChecksumHashFunction.java

            } catch (Throwable e) {
              // `update` has no `throws` clause.
              sneakyThrow(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
        private static @Nullable MethodHandle updateByteBuffer() {
          try {
            Class<?> clazz = Class.forName("java.util.zip.Checksum");
            return MethodHandles.lookup()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * ConcurrentHashMap} support for {@code entrySet().add()}</a>.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddUnsupportedNotPresentMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_unsupportedNotPresent");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * ConcurrentHashMap} support for {@code entrySet().add()}</a>.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddUnsupportedNotPresentMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_unsupportedNotPresent");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/RelationshipTester.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link EqualsTester} and {@link EquivalenceTester} that tests for
     * equivalence classes.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    final class RelationshipTester<T> {
      interface ItemReporter {
        String reportItem(Item<?> item);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            // Test constructor with null message but valid cause
            Exception cause = new IllegalArgumentException("Invalid argument");
            DictionaryException exception = new DictionaryException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    import java.lang.annotation.RetentionPolicy;
    import java.util.Collection;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import java.util.SortedSet;
    
    /**
     * Optional features of classes derived from {@code Collection}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/CloseableUtil.java

    import org.codelibs.core.log.Logger;
    
    /**
     * Utility class for {@link Closeable} operations.
     *
     * @author koichik
     */
    public abstract class CloseableUtil {
    
        /**
         * Do not instantiate.
         */
        protected CloseableUtil() {
        }
    
        private static final Logger logger = Logger.getLogger(CloseableUtil.class);
    
        /**
         * Closes a {@link Closeable}.
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       *   ForwardingSet does not forward `default` methods, as discussed in its Javadoc.
       */
    
      // Currently, we don't include stream() and spliterator() for our classes in the Android flavor.
    
      @Override
      public boolean remove(@Nullable Object o) {
        assertTrue(Thread.holdsLock(mutex));
        return super.remove(o);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractService.java

              }
            });
      }
    
      /**
       * An immutable snapshot of the current state of the service. This class represents a consistent
       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top