Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,057 for entre (0.04 sec)

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

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
      protected abstract Map<String, String> create(Entry<String, String>[] entries);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals("foo", entry.getKey());
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
        assertThat(entry.getValue()).containsExactly(2, 6);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

      @Override
      public boolean remove(@CheckForNull Object o) {
        Predicate<? super Entry<K, V>> entryPredicate = multimap.entryPredicate();
        for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator();
            unfilteredItr.hasNext(); ) {
          Entry<K, V> entry = unfilteredItr.next();
          if (entryPredicate.apply(entry) && Objects.equal(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyEntry<Object, Object> entry = createDummyEntry(key, hash, value, null);
        segment.recordWrite(entry, 1, map.ticker.read());
        segment.table.set(0, entry);
        segment.readCount.incrementAndGet();
        segment.count = 1;
        segment.totalWeight = 1;
    
        assertSame(entry, table.get(0));
        assertSame(entry, segment.accessQueue.peek());
        assertSame(entry, segment.writeQueue.peek());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

            new ImmutableMap.Builder<>(rows.size());
        for (Entry<R, Map<C, V>> row : rows.entrySet()) {
          rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue()));
        }
        this.rowMap = rowBuilder.buildOrThrow();
    
        ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder =
            new ImmutableMap.Builder<>(columns.size());
        for (Entry<C, Map<R, V>> col : columns.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

              contents.add(entry.getElement());
            }
          }
          return ((Multiset<E>) gen.create(contents.toArray())).entrySet();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Multiset.Entry<E>[] createArray(int length) {
          return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length];
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/MapRetrievalCache.java

        // Store a local reference to the cache entry. If the backing map is immutable, this,
        // in combination with immutable cache entries, will ensure a thread-safe cache.
        CacheEntry<K, V> entry;
    
        // Check cache. We use == on purpose because it's cheaper and a cache miss is ok.
        entry = cacheEntry1;
        if (entry != null && entry.key == key) {
          return entry.value;
        }
        entry = cacheEntry2;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/ReferenceEntry.java

      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
      void setNextInAccessQueue(ReferenceEntry<K, V> next);
    
      /** Returns the previous entry in the access queue. */
      ReferenceEntry<K, V> getPreviousInAccessQueue();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyEntry<Object, Object> entry = createDummyEntry(key, hash, value, null);
        segment.recordWrite(entry, 1, map.ticker.read());
        segment.table.set(0, entry);
        segment.readCount.incrementAndGet();
        segment.count = 1;
        segment.totalWeight = 1;
    
        assertSame(entry, table.get(0));
        assertSame(entry, segment.accessQueue.peek());
        assertSame(entry, segment.writeQueue.peek());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 3);
        Iterator<Entry<String, Integer>> entries = map.entries().iterator();
        Entry<String, Integer> entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top