Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Howard (0.2 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableSetMultimap}.
     *
     * @author Mike Ward
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimapTest extends TestCase {
      private static final class ImmutableSetMultimapGenerator extends TestStringSetMultimapGenerator {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

     * Undefined behavior and bugs will result.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Mike Ward
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V>
        implements SetMultimap<K, V> {
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
    
        private List<Multiset.Entry<E>> snapshot() {
          List<Multiset.Entry<E>> list = Lists.newArrayListWithExpectedSize(size());
          // Not Iterables.addAll(list, this), because that'll forward right back here.
          Iterators.addAll(list, iterator());
          return list;
        }
      }
    
      /** @serialData the ConcurrentMap of elements and their counts. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Lists.java

          this.function = checkNotNull(function);
        }
    
        /**
         * The default implementation inherited is based on iteration and removal of each element which
         * can be overkill. That's why we forward this call directly to the backing list.
         */
        @Override
        protected void removeRange(int fromIndex, int toIndex) {
          fromList.subList(fromIndex, toIndex).clear();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableSetMultimap}.
     *
     * @author Mike Ward
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimapTest extends TestCase {
      private static final class ImmutableSetMultimapGenerator extends TestStringSetMultimapGenerator {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
    
        // forward map ordered by currency
        assertThat(bimap.keySet())
            .containsExactly(Currency.DOLLAR, Currency.FRANC, Currency.PESO)
            .inOrder();
        // forward map ordered by currency (even for country values)
        assertThat(bimap.values())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
    
        // forward map ordered by currency
        assertThat(bimap.keySet())
            .containsExactly(Currency.DOLLAR, Currency.FRANC, Currency.PESO)
            .inOrder();
        // forward map ordered by currency (even for country values)
        assertThat(bimap.values())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
          // forward map is a view, don't make a copy of the non-view delegate map
          if (!bimap.isPartialView()) {
            return bimap;
          }
        }
        return copyOf(map.entrySet());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

     * Undefined behavior and bugs will result.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Mike Ward
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V>
        implements SetMultimap<K, V> {
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(Iterables.elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
      public void testLegacyComparable_copyOf_iterator() {
        ImmutableSortedSet<LegacyComparable> set =
            ImmutableSortedSet.copyOf(LegacyComparable.VALUES_BACKWARD.iterator());
        assertTrue(Iterables.elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
      public void testLegacyComparable_builder_natural() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
Back to top