Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for addTag (0.17 sec)

  1. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise
     * have appeared. The differences include:
     *
     * <ul>
     *   <li>There is no need to populate an empty collection before adding an entry with {@link #put
     *       put}.
     *   <li>{@code get} never returns {@code null}, only an empty collection.
     *   <li>A key is contained in the multimap if and only if it maps to at least one value. Any
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        try {
          equalsTester.addEqualityGroup(reference, equalObject1, null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test adding null equal object yields error */
      public void testAddNullEqualObject() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 04 15:33:27 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       a more precisely named annotation?
     *   <li>While a dependency on Android ought to be easy if it's for annotations only, it will
     *       probably require adding the dep to various ACLs, license files, and Proguard
     *       configurations, and there's always the potential that something will go wrong. It
     *       <i>probably</i> won't, since the deps are needed only in tests (and maybe someday in
    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)
  5. CONTRIBUTING.md

    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    carefully. Because of this, if you're interested in seeing a new feature in
    Guava, the best approach is to create an [issue][] (or comment on an existing
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * {@code asMap} has a few subtleties. As long as the set of keys remains unchanged, adding or
     * removing mappings does not affect the key iteration order. However, if you remove all values
     * associated with a key and then add the key back to the multimap, that key will come last in the
     * key iteration order.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SetMultimap.java

    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code Multimap} that cannot hold duplicate key-value pairs. Adding a key-value pair that's
     * already in the multimap has no effect. See the {@link Multimap} documentation for information
     * common to all multimaps.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * CompactLinkedHashSet is an implementation of a Set, which a predictable iteration order that
     * matches the insertion order. All optional operations (adding and removing) are supported. All
     * elements, including {@code null}, are permitted.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsImplTest.java

                ImmutableList.of("A"),
                ImmutableList.of("A"),
                ImmutableList.of("A", "A", "B", "C"),
                ImmutableList.of("A", "A", "D", "E", "B", "C"));
    
        String format = "Adding %s at %s";
        for (int i = 0; i < toAdd.size(); i++) {
          int index = indexes.get(i);
          Iterable<String> iterableToAdd = toAdd.get(i);
          boolean expectedChanged = iterableToAdd.iterator().hasNext();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
     * <p>When chaining together a graph of asynchronous operations, you will often find it easier to
     * use a framework. Frameworks automate the process, often adding features like monitoring,
     * debugging, and cancellation. Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
Back to top