Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 872 for entry (0.03 sec)

  1. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        private final Entry<K, V> delegate;
    
        static <K, V extends @Nullable Object> Set<Entry<K, V>> transformEntries(
            Set<Entry<K, V>> entries) {
          return new ForwardingSet<Map.Entry<K, V>>() {
            @Override
            protected Set<Entry<K, V>> delegate() {
              return entries;
            }
    
            @Override
            public Iterator<Entry<K, V>> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMultimap.java

        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        boolean changed = false;
        for (Entry<? extends K, ? extends V> entry : multimap.entries()) {
          changed |= put(entry.getKey(), entry.getValue());
        }
        return changed;
      }
    
      @CanIgnoreReturnValue
      @Override
    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/ImmutableMultimap.java

          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @Weak private final transient ImmutableSetMultimap<K, V> multimap;
    
        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void clear() {
        if (removalListener != null) {
          for (Entry<K, Timestamped<V>> entry : cachingHashMap.entrySet()) {
            alertListenerIfPresent(entry.getKey(), entry.getValue().getValue(), RemovalCause.EXPLICIT);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        private final Entry<K, V> delegate;
    
        static <K, V extends @Nullable Object> Set<Entry<K, V>> transformEntries(
            Set<Entry<K, V>> entries) {
          return new ForwardingSet<Map.Entry<K, V>>() {
            @Override
            protected Set<Entry<K, V>> delegate() {
              return entries;
            }
    
            @Override
            public Iterator<Entry<K, V>> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      public void testAsMapGet() {
        for (K key : sampleKeys()) {
          List<V> expectedValues = new ArrayList<>();
          for (Entry<K, V> entry : getSampleElements()) {
            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

          } else {
            // we need to update a pointer in an entry
            int entryIndex;
            int entry;
            do {
              entryIndex = next - 1;
              entry = entries[entryIndex];
              next = CompactHashing.getNext(entry, mask);
            } while (next != srcNext);
            // here, entries[entryIndex] points to the old entry location; update it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
          assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue()));
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top