Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for SetMultimap (0.3 sec)

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

     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
     * if key or value objects already present in the multimap change in a manner that affects
     * {@code equals} comparisons. Use caution if mutable objects are used as keys or values in a {@code
     * SetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code SetMultimap} in a way
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SetMultimap.java

     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
     * if key or value objects already present in the multimap change in a manner that affects
     * {@code equals} comparisons. Use caution if mutable objects are used as keys or values in a {@code
     * SetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code SetMultimap} in a way
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

    public class SetMultimapEqualsTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      @CollectionSize.Require(SEVERAL)
      public void testOrderingDoesntAffectEqualsComparisons() {
        SetMultimap<K, V> multimap1 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v4()));
        SetMultimap<K, V> multimap2 =
            getSubjectGenerator()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSetMultimap.java

      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java

            .testForwarding(
                SetMultimap.class,
                new Function<SetMultimap, SetMultimap<?, ?>>() {
                  @Override
                  public SetMultimap<?, ?> apply(SetMultimap delegate) {
                    return wrap((SetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
        SetMultimap<Integer, String> map1 = ImmutableSetMultimap.of(1, "one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code SetMultimap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SetMultimapTestSuiteBuilder<K, V>
        extends MultimapTestSuiteBuilder<K, V, SetMultimap<K, V>> {
    
      public static <K, V> SetMultimapTestSuiteBuilder<K, V> using(
          TestSetMultimapGenerator<K, V> generator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code SetMultimap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SetMultimapTestSuiteBuilder<K, V>
        extends MultimapTestSuiteBuilder<K, V, SetMultimap<K, V>> {
    
      public static <K, V> SetMultimapTestSuiteBuilder<K, V> using(
          TestSetMultimapGenerator<K, V> generator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

    /**
     * Implementation of {@link Multimaps#filterEntries(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class FilteredEntrySetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends FilteredEntryMultimap<K, V> implements FilteredSetMultimap<K, V> {
    
      FilteredEntrySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

      }
    
      public void testEmptyMultimapsEqual() {
        Multimap<String, Integer> setMultimap = HashMultimap.create();
        Multimap<String, Integer> listMultimap = ArrayListMultimap.create();
        assertTrue(setMultimap.equals(listMultimap));
        assertTrue(listMultimap.equals(setMultimap));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top