Package 

Class StringUtilKt

  • All Implemented Interfaces:

    
    public final class StringUtilKt
    
                        
    • 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
    • Constructor Detail

    • Method Detail

      • isNullOrBlankEffective

         final static Boolean isNullOrBlankEffective(CharSequence $self)

        Supersedes built-in Kotlin extension function because it uses built-in isBlank function which, in turn, creates IntRange object for every call. If such calls happen often, then quite a few of unnecessary objects are created.

        That's why we have our own alternative which doesn't use additional memory

      • isBlankEffective

         final static Boolean isBlankEffective(CharSequence $self)

        Supersedes built-in Kotlin extension function because it creates IntRange object for every call. If such calls happen often, then quite a few of unnecessary objects are created.

        That's why we have our own alternative which doesn't use additional memory

      • isNotBlankEffective

         final static Boolean isNotBlankEffective(CharSequence $self)

        Supersedes built-in Kotlin extension function because it uses built-in isBlank function which, in turn, creates IntRange object for every call. If such calls happen often, then quite a few of unnecessary objects are created.

        That's why we have our own alternative which doesn't use additional memory