# Class: com.pnfsoftware.jeb.util.format.NumberComparator

A comparator of numbers encoded as strings. The input string is divided into chunks of numbers \(hexadecimal upper case supported\) and other characters. Comparison of characters is delegated to a [Character](Character) [Comparator](Comparator).

## Constructor: NumberComparator


## Constructor: NumberComparator
- parameter: `charComparator`, type: `java.util.Comparator<java.lang.Character>`
- parameter: `scanHexadecimal`, type: `boolean`


## Method: compare
- parameter: `s1`, type: `java.lang.String`
- parameter: `s2`, type: `java.lang.String`
- return type: `int`


