/** Discards any cached value for key {@code key}. */ void invalidate(@CompatibleWith("K") Object key);
state, calledMethodType, calledReceiverType, declaredMethod, anno.value());
/** Discards any cached value for key {@code key}. */ void invalidate(@CompatibleWith("K") Object key);
/** Discards any cached value for key {@code key}. */ void invalidate(@CompatibleWith("K") Object key);
/** Discards any cached value for key {@code key}. */ void invalidate(@CompatibleWith("K") Object key);
/** * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code * key}. */ boolean containsKey(@CompatibleWith("K") @Nullable Object key);
/** * Returns {@code true} if the table contains a mapping with the specified column. * * @param columnKey key of column to search for */ boolean containsColumn(@Nullable @CompatibleWith("C") Object columnKey);
/** * Returns {@code true} if the table contains a mapping with the specified row and column keys. * * @param rowKey key of row to search for * @param columnKey key of column to search for */ boolean contains( @Nullable @CompatibleWith("R") Object rowKey, @Nullable @CompatibleWith("C") Object columnKey);
/** * Returns {@code true} if the table contains a mapping with the specified value. * * @param value value to search for */ boolean containsValue(@Nullable @CompatibleWith("V") Object value);
/** * Returns the value corresponding to the given row and column keys, or {@code null} if no such * mapping exists. * * @param rowKey key of row to search for * @param columnKey key of column to search for */ V get( @Nullable @CompatibleWith("R") Object rowKey, @Nullable @CompatibleWith("C") Object columnKey);
/** * Returns the value associated with {@code key} in this cache, or {@code null} if there is no * cached value for {@code key}. * * @since 11.0 */ @Nullable V getIfPresent(@CompatibleWith("K") Object key);
/** * Returns {@code true} if this multimap contains at least one key-value pair with the value * {@code value}. */ boolean containsValue(@CompatibleWith("V") @Nullable Object value);
/** * Returns {@code true} if the table contains a mapping with the specified row key. * * @param rowKey key of row to search for */ boolean containsRow(@Nullable @CompatibleWith("R") Object rowKey);
/** * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code * key} and the value {@code value}. */ boolean containsEntry( @CompatibleWith("K") @Nullable Object key, @CompatibleWith("V") @Nullable Object value);
/** * Returns the number of occurrences of an element in this multiset (the <i>count</i> of the * element). Note that for an {@link Object#equals}-based multiset, this gives the same result as * {@link Collections#frequency} (which would presumably perform more poorly). * * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it * correctly delegates to this method when dealing with a multiset, but it can also accept any * other iterable type. * * @param element the element to count occurrences of * @return the number of occurrences of the element in this multiset; possibly zero but never * negative */ int count(@Nullable @CompatibleWith("E") Object element);
/** * Removes a single key-value pair with the key {@code key} and the value {@code value} from this * multimap, if such exists. If multiple key-value pairs in the multimap fit this description, * which one is removed is unspecified. * * @return {@code true} if the multimap changed */ @CanIgnoreReturnValue boolean remove( @CompatibleWith("K") @Nullable Object key, @CompatibleWith("V") @Nullable Object value);
/** * Returns {@code true} if the table contains a mapping with the specified row key. * * @param rowKey key of row to search for */ boolean containsRow(@NullableDecl @CompatibleWith("R") Object rowKey);
/** * Returns the value associated with {@code key} in this cache, or {@code null} if there is no * cached value for {@code key}. * * @since 11.0 */ @NullableDecl V getIfPresent(@CompatibleWith("K") Object key);
/** * Returns the value corresponding to the given row and column keys, or {@code null} if no such * mapping exists. * * @param rowKey key of row to search for * @param columnKey key of column to search for */ V get( @NullableDecl @CompatibleWith("R") Object rowKey, @NullableDecl @CompatibleWith("C") Object columnKey);
/** * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code * key} and the value {@code value}. */ boolean containsEntry( @CompatibleWith("K") @NullableDecl Object key, @CompatibleWith("V") @NullableDecl Object value);