Skip to content

Commit

Permalink
Update the documentation of RegularImmutableMap.
Browse files Browse the repository at this point in the history
It's been used for size-zero maps for years.

RELNOTES=n/a
PiperOrigin-RevId: 632659530
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed May 11, 2024
1 parent 243b327 commit aeadb63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion guava/src/com/google/common/collect/RegularImmutableMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
import org.checkerframework.checker.nullness.qual.Nullable;

/**
* Implementation of {@link ImmutableMap} with two or more entries.
* Implementation of {@link ImmutableMap} used for 0 entries and for 2+ entries. Additional
* implementations exist for particular cases, like {@link ImmutableTable} views and hash flooding.
* (This doc discusses {@link ImmutableMap} subclasses only for the JRE flavor; the Android flavor
* differs.)
*
* @author Jesse Wilson
* @author Kevin Bourrillion
Expand Down

0 comments on commit aeadb63

Please sign in to comment.