-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
[] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176589307
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -681,6 +681,11 @@ public boolean containsValue(@Nullable Object value) { | |
@Override | ||
public abstract V get(@Nullable Object key); | ||
|
||
/** | ||
* @since 21.0 (but only since 23.5 in the Android <a | ||
* href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>). | ||
* Note, however, that Java 8 users can call this method with any version and flavor of Guava. | ||
*/ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
cpovirk
Author
Member
|
||
@Override | ||
public final V getOrDefault(@Nullable Object key, @Nullable V defaultValue) { | ||
V result = get(key); | ||
|
@cpovirk, I wonder if the end-result documentation would look better if it looked something like this?