Method Reverse
Reverse(LuceneVersion, String)
Reverses the given input string
Declaration
public static string Reverse(LuceneVersion matchVersion, string input)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
System.String | input | the string to reverse |
Returns
Type | Description |
---|---|
System.String | the given input string in reversed order |
Reverse(LuceneVersion, Char[])
Reverses the given input buffer in-place
Declaration
public static void Reverse(LuceneVersion matchVersion, char[] buffer)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
System.Char[] | buffer | the input char array to reverse |
Reverse(LuceneVersion, Char[], Int32)
Partially reverses the given input buffer in-place from offset 0 up to the given length.
Declaration
public static void Reverse(LuceneVersion matchVersion, char[] buffer, int len)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
System.Char[] | buffer | the input char array to reverse |
System.Int32 | len | the length in the buffer up to where the buffer should be reversed |
Reverse(LuceneVersion, Char[], Int32, Int32)
Partially reverses the given input buffer in-place from the given offset up to the given length.
Declaration
public static void Reverse(LuceneVersion matchVersion, char[] buffer, int start, int len)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
System.Char[] | buffer | the input char array to reverse |
System.Int32 | start | the offset from where to reverse the buffer |
System.Int32 | len | the length in the buffer up to where the buffer should be reversed |