Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 278 for Hevery (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

          assertFalse(
              "removeIf(Predicate) should return false or throw " + "UnsupportedOperationException",
              collection.removeIf(
                  x -> {
                    throw new AssertionError("predicate should never be called");
                  }));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       <i>probably</i> won't, since the deps are needed only in tests (and maybe someday in
     *       testlib), but why bother?
     *   <li>Stripping code entirely might help us keep under the method limit someday. Even if it never
     *       comes to that, it may at least help with build and startup times.
     * </ul>
     */
    @Retention(CLASS)
    @Target({ANNOTATION_TYPE, CONSTRUCTOR, FIELD, METHOD, TYPE})
    @GwtCompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

             *
             * We carry out this computation in modular arithmetic. Since times2ToThe32Mod accepts any
             * unsigned long, we don't have to do a mod on every operation, only when intermediate
             * results can exceed 2^63.
             */
            long result = times2ToThe32Mod(aHi * bHi /* < 2^62 */, m); // < m < 2^63
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closeables.java

       * This is primarily useful in a finally block, where a thrown exception needs to be logged but
       * not propagated (otherwise the original exception will be lost).
       *
       * <p>If {@code swallowIOException} is true then we never throw {@code IOException} but merely log
       * it.
       *
       * <p>Example:
       *
       * <pre>{@code
       * public void useStreamNicely() throws IOException {
       *   SomeStream stream = new SomeStream("foo");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
    
        // Test #entries()
        assertCollectionIsUnmodifiable(multimap.entries(), Maps.immutableEntry(sampleKey, sampleValue));
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Iterate over every element in the entry set
        for (Entry<K, V> entry : multimap.entries()) {
          assertMapEntryIsUnmodifiable(entry);
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #keys()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/package-info.java

     * part of the open-source <a href="https://github.com/google/guava">Guava</a> library.
     *
     * <p>The classes in this package include:
     *
     * <h2>Immutable collections</h2>
     *
     * These are collections whose contents will never change. They also offer a few additional
     * guarantees (see {@link ImmutableCollection} for details). Implementations are available for both
     * the JDK collection types and the Guava collection types (listed below).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

     *
     * @author Chris Nokleberg
     * @since 14.0
     */
    @GwtIncompatible
    public final class TestingExecutors {
      private TestingExecutors() {}
    
      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
       * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite
       * the fact that everything is still technically awaiting execution. The {@code getDelay} method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EnumsTest.java

      // new ClassLoader. If Enums.getIfPresent does caching that prevents the shadow TestEnum
      // (and therefore its ClassLoader) from being unloaded, then this WeakReference will never be
      // cleared.
      @J2ktIncompatible
      @GwtIncompatible // weak references
      private WeakReference<?> doTestClassUnloading() throws Exception {
        URLClassLoader shadowLoader = new URLClassLoader(getClassPathUrls(), null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Multiset} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Grouped iteration.</b> In all current implementations, duplicate elements always appear
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top