Class Platform


  • @GwtCompatible
    final class Platform
    extends java.lang.Object
    Methods factored out so that they can be emulated differently in GWT.

    This class is emulated 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 void checkCast​(java.lang.Class<?> clazz, java.lang.Object obj)  
      (package private) static <T> T[] clone​(T[] array)  
      (package private) static java.lang.String format​(java.lang.String template, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Platform

        private Platform()
    • Method Detail

      • clone

        static <T> T[] clone​(T[] array)
      • checkCast

        static void checkCast​(java.lang.Class<?> clazz,
                              java.lang.Object obj)
      • format

        static java.lang.String format​(java.lang.String template,
                                       java.lang.Object... args)