Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,041 for maps (0.03 sec)

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

          TestSortedSetGenerator<E> delegate, Bound to, Bound from) {
        return using(new NavigableSetSubsetTestSetGenerator<E>(delegate, to, from));
      }
    
      /** Create a suite whose maps are descending views of other maps. */
      private TestSuite createDescendingSuite(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
              parentBuilder) {
        TestSetGenerator<E> delegate =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractTable.java

      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.ViewCachingAbstractMap;
    import com.google.j2objc.annotations.WeakOuter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

          public Collection<V> values() {
            return new Maps.Values<Range<K>, V>(this) {
              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Maps.<V>valueFunction()));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
                return removeEntryIf(compose(not(in(c)), Maps.<V>valueFunction()));
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractTable.java

      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        public Map<R, Map<C, V2>> rowMap() {
          return Maps.transformValues(fromTable.rowMap(), row -> Maps.transformValues(row, function));
        }
    
        @Override
        public Map<C, Map<R, V2>> columnMap() {
          return Maps.transformValues(
              fromTable.columnMap(), column -> Maps.transformValues(column, function));
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/StandardTable.java

      }
    
      @LazyInit private transient @Nullable Map<R, Map<C, V>> rowMap;
    
      @Override
      public Map<R, Map<C, V>> rowMap() {
        Map<R, Map<C, V>> result = rowMap;
        return (result == null) ? rowMap = createRowMap() : result;
      }
    
      Map<R, Map<C, V>> createRowMap() {
        return new RowMap();
      }
    
      @WeakOuter
      class RowMap extends ViewCachingAbstractMap<R, Map<C, V>> {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMap.java

      }
    
      /**
       * A sensible definition of {@link #putAll(Map)} in terms of {@link #put(Object, Object)}. If you
       * override {@link #put(Object, Object)}, you may wish to override {@link #putAll(Map)} to forward
       * to this implementation.
       *
       * @since 7.0
       */
      protected void standardPutAll(Map<? extends K, ? extends V> map) {
        Maps.putAllImpl(this, map);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * Basic serialization test for maps.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top