Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for createAsMap (0.26 sec)

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

      @Override
      public Map<K, Collection<V>> asMap() {
        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMultimap.java

      @Override
      public Map<K, Collection<V>> asMap() {
        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

            }
          }
          return false;
        }
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return Maps.filterKeys(unfiltered.asMap(), keyPredicate);
      }
    
      @Override
      Multiset<K> createKeys() {
        return Multisets.filter(unfiltered.keys(), keyPredicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      private Map<K, Long> createAsMap() {
        return Collections.unmodifiableMap(map);
      }
    
      /** Returns true if this map contains a mapping for the specified key. */
      public boolean containsKey(Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      private Map<K, Long> createAsMap() {
        return Collections.unmodifiableMap(
            Maps.transformValues(
                map,
                new Function<AtomicLong, Long>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
        return asMap().keySet();
      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeMultimap.java

          Comparator<? super V> valueComparator,
          Multimap<? extends K, ? extends V> multimap) {
        this(keyComparator, valueComparator);
        putAll(multimap);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return createMaybeNavigableAsMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates an empty {@code TreeSet} for a collection of values for one key.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
        return asMap().keySet();
      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

          this.factory = checkNotNull(factory);
        }
    
        @Override
        Set<K> createKeySet() {
          return createMaybeNavigableKeySet();
        }
    
        @Override
        Map<K, Collection<V>> createAsMap() {
          return createMaybeNavigableAsMap();
        }
    
        @Override
        protected Collection<V> createCollection() {
          return factory.get();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/LinkedListMultimap.java

        }
        return new EntriesImpl();
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new Multimaps.AsMap<>(this);
      }
    
      /**
       * @serialData the number of distinct keys, and then for each distinct key: the first key, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
Back to top