Package com.google.common.escape
Class Platform
- java.lang.Object
-
- com.google.common.escape.Platform
-
final class Platform extends java.lang.Object
Methods factored out so that they can be emulated differently in GWT.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.ThreadLocal<char[]>
DEST_TL
A thread-local destination buffer to keep us from creating new buffers.
-
Constructor Summary
Constructors Modifier Constructor Description private
Platform()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static char[]
charBufferFromThreadLocal()
Returns a thread-local 1024-char array.
-