Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 606 for KEYS (0.03 sec)

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

      }
    
      abstract Set<K> createKeySet();
    
      @LazyInit @CheckForNull private transient Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
      @LazyInit @CheckForNull private transient Collection<V> values;
    
    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/HashMultimap.java

       * keys and values without rehashing.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys(expectedKeys).hashSetValues(expectedValuesPerKey).build()}, which
       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapDifference.java

       * equal.
       */
      boolean areEqual();
    
      /**
       * 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();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Cache.java

      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          return;
        }
    
        Set<K> keys = map.keySet();
        K key = keys.iterator().next();
        if (supportsRemove) {
          int initialSize = map.size();
          keys.remove(key);
          assertEquals(initialSize - 1, map.size());
          assertFalse(map.containsKey(key));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> keys.remove(key));
        }
        assertInvariants(map);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

    import java.util.SortedMap;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their
     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * single row key may or may not be ordered, depending on the implementation. When rows and columns
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. internal/event/targetlist.go

    	return targets
    }
    
    // List - returns available target IDs.
    func (list *TargetList) List() []TargetID {
    	list.RLock()
    	defer list.RUnlock()
    
    	keys := []TargetID{}
    	for k := range list.targets {
    		keys = append(keys, k)
    	}
    
    	return keys
    }
    
    func (list *TargetList) get(id TargetID) (Target, bool) {
    	list.RLock()
    	defer list.RUnlock()
    
    	target, ok := list.targets[id]
    	return target, ok
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        };
      }
    
      /**
       * Returns an immutable multiset containing all the keys in this multimap, in the same order and
       * with the same frequencies as they appear in this multimap; to get only a single occurrence of
       * each key, use {@link #keySet}.
       */
      @Override
      public ImmutableMultiset<K> keys() {
        return (ImmutableMultiset<K>) super.keys();
      }
    
      @Override
      ImmutableMultiset<K> createKeys() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. cmd/common-main_test.go

    				t.Error(err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error(errors.New("expected error, found success"))
    			}
    
    			if len(ekvs) != len(testCase.expectedEkvs) {
    				t.Errorf("expected %v keys, got %v keys", len(testCase.expectedEkvs), len(ekvs))
    			}
    
    			if !reflect.DeepEqual(ekvs, testCase.expectedEkvs) {
    				t.Errorf("expected %v, got %v", testCase.expectedEkvs, ekvs)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/LinkedHashMultimap.java

     * returns collections whose iterators follow the ordering in which the data was added to the
     * multimap.
     *
     * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through
     * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code
     * removeAll}, and {@code replaceValues} return collections that iterate through the values in the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top