Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 673 for entities (0.06 sec)

  1. android/guava/src/com/google/common/cache/Cache.java

       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
      /** Returns the approximate number of entries in this cache. */
      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

                      @Override
                      protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
                        SetMultimap<String, String> multimap = LinkedHashMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      public void clear() {
        entries().clear();
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
        return filterCollection(unfiltered.get(key), new ValuePredicate(key));
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return filterCollection(unfiltered.entries(), predicate);
      }
    
      @Override
      Collection<V> createValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          assertCollectionIsUnmodifiable(values, sampleValue);
        }
    
        // Test #entries()
        assertCollectionIsUnmodifiable(multimap.entries(), immutableEntry(sampleKey, sampleValue));
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Iterate over every element in the entry set
        for (Entry<K, V> entry : multimap.entries()) {
          assertMapEntryIsUnmodifiable(entry);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapDifference.java

       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
      Map<K, V> entriesOnlyOnRight();
    
      /**
       * Returns an unmodifiable map containing the entries that appear in both maps; that is, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  6. cmd/is-dir-empty_linux.go

    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        Entry<Integer, Integer>[] builderArray = builder.entries;
        for (int i = 0; i < 10; i++) {
          builder.put(i, i);
        }
        Entry<Integer, Integer>[] builderArrayAfterPuts = builder.entries;
        RegularImmutableBiMap<Integer, Integer> map =
            (RegularImmutableBiMap<Integer, Integer>) builder.build();
        Entry<Integer, Integer>[] mapInternalArray = map.entries;
        assertSame(builderArray, builderArrayAfterPuts);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        private final Collection<Entry<K, V>> entries;
    
        UnmodifiableEntries(Collection<Entry<K, V>> entries) {
          this.entries = entries;
        }
    
        @Override
        protected Collection<Entry<K, V>> delegate() {
          return entries;
        }
    
        @Override
        public Iterator<Entry<K, V>> iterator() {
          return unmodifiableEntryIterator(entries.iterator());
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @FunctionalInterface
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top