Class LangKt

  • All Implemented Interfaces:

    
    public final class LangKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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