Class ICompareString.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
    • Method Detail

      • compare

        @Stability(Experimental)
        @NotNull
        public final Number compare​(@NotNull
                                    String a,
                                    @NotNull
                                    String b)
        Specified by:
        compare in interface ICompareString
        Specified by:
        compare in interface ICompareString.Jsii$Default
        Parameters:
        a - The first string. This parameter is required.
        b - The second string. This parameter is required.
        Returns:
        It is expected to return a negative value if the first argument is less than the second argument, zero if they're equal, and a positive value otherwise.