Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in GWT). This is sometimes acceptable, when only server-side code could generate enough volume that reclamation becomes important.
(MapMaker mapMaker)
| 53 | * important. |
| 54 | */ |
| 55 | static MapMaker tryWeakKeys(MapMaker mapMaker) { |
| 56 | return mapMaker.weakKeys(); |
| 57 | } |
| 58 | |
| 59 | // TODO(cpovirk): Consider adding an ArrayDeque emulation to GWT. |
| 60 | static <E> Deque<E> newFastestDeque(int initialCapacity) { |
no test coverage detected