Package com.google.common.collect
Class Platform
- java.lang.Object
-
- com.google.common.collect.Platform
-
@GwtCompatible(emulated=true) final class Platform extends java.lang.Object
Methods factored out so that they can be emulated differently in GWT.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Platform()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <T> T[]
newArray(T[] reference, int length)
Returns a new array of the given length with the same type as a reference array.(package private) static MapMaker
tryWeakKeys(MapMaker mapMaker)
Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in GWT).
-