Package 

Class LangKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Lazy<T> usfLazy(Function0<T> initializer) Unsafe lazy, usually be used in single thread
      final static Unit sleepSeconds(Long seconds)
      final static Unit sleepMillis(Long millis)
      final static Unit sleep(Duration duration)
      final static Boolean alwaysFalse() Always false and have no static check warning
      final static Boolean alwaysTrue() Always true and have no static check warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait