Removes all duplicates from an array.
Constructor method that initializes the private field _subComparator.
A Utility Class for Simple and Advanced Arrays Operations.
The comparator class RSArrayComparator accepts a constructor argument that defines if it should ignore the order of the elements. RSArrayUtil::getAllCombinations does the same - but in contrast to RSArrayComparator ignoring the order is the default.
Some methods accept an argument to change the comparison operator. Pass this constant to force 'lazy' comparison using '=='.
The comparator class RSArrayComparator accepts a constructor argument that defines if it should ignore the order of the elements. RSArrayUtil::getAllCombinations does the same - but in contrast to RSArrayComparator ignoring the order is the default.
Some methods accept an argument to change the comparison operator. Pass this constant to force strict comparison using '==='.
Base class for all implementations of comparators.
A Comparator for comparing primitives.
A Comparator for comparing objects by the return values of their toString methods.