Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 631 for that (0.03 sec)

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

          // success
        }
        // verify that the bimap is unchanged
        expectAdded(e0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ParametricNullness.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/SmallCharMatcher.java

      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ParametricNullness.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/PairwiseEquivalence.java

      public boolean equals(@CheckForNull Object object) {
        if (object instanceof PairwiseEquivalence) {
          @SuppressWarnings("unchecked")
          PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) object;
          return this.elementEquivalence.equals(that.elementEquivalence);
        }
    
        return false;
      }
    
      @Override
      public int hashCode() {
        return elementEquivalence.hashCode() ^ 0x46a3eb07;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteProcessor.java

    import java.io.IOException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A callback interface to process bytes from a stream.
     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashMultiset.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Multiset implementation that uses hashing for key and entry access.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteProcessor.java

    import java.io.IOException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A callback interface to process bytes from a stream.
     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Enums.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) object;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return enumClass.hashCode();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top