public class


extends Object
implements Comparator<T>
   ↳ com.pnfsoftware.jeb.util.format.NumberComparator

Class Overview

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 Comparator.


Public Constructors
NumberComparator(Comparator<Character> charComparator, boolean scanHexadecimal)
Public Methods
int compare(String s1, String s2)
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Public Constructors

public NumberComparator ()

public NumberComparator (Comparator<Character> charComparator, boolean scanHexadecimal)

Public Methods

public int compare (String s1, String s2)