iText 8.0.2 API
iText.Commons.Utils.SortUtil Class Reference

This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future. More...

Classes

class   StringOrdinalComparator
 

Static Public Member Functions

static void  MergeSort< T > (List< T > list, IComparer< T > comparer)
 
static void  MergeSort (List< String > list, IComparer< String > comparer)
 
static void  MergeSort< T > (T[] array, int from, int to, IComparer< T > comparer)
 
static void  MergeSort (String[] array, IComparer< String > comparer)
 

Detailed Description

This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future.

Member Function Documentation

◆ MergeSort< T >()

static void iText.Commons.Utils.SortUtil.MergeSort< T > ( T[]  array,
int  from,
int  to,
IComparer< T >  comparer 
)
inlinestatic

Parameters
from the index of the first element, inclusive, to be sorted
to the index of the last element, exclusive, to be sorted