frost.core.String

Class Index

    └ Value
         └ Immutable
             └ Object

Implemented Interfaces:

Represents the position of a Unicode codepoint within a String.

Source Code:
View Source

Initializer Summary

init(byteOffset:Int):Index

Field Summary

byteOffset:Int
Inherited Fields:

Instance Method Summary

-- equals operator --
=(other:Index):Bit
Returns true if these objects are equal.
-- greater than operator --
>(other:Index):Bit
Inherited Methods:

Initializers

init (byteOffset:Int
):Index
Parameters:
byteOffset - value of type Int

Fields

def byteOffset:Int

Instance Methods

-- equals operator --
@override
function = (other:Index
):Bit

Returns true if these objects are equal.

Parameters:
other - value of type Index
Overrides:
frost.core.Equatable.=
-- greater than operator --
@override
function > (other:Index
):Bit
Parameters:
other - value of type Index