public class

NumberComparator

extends Object
implements Comparator<T>
java.lang.Object
   ↳ 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.

Summary

Public Constructors
NumberComparator()
NumberComparator(Comparator<Character> charComparator, boolean scanHexadecimal)
Public Methods
int compare(String s1, String s2)
[Expand]
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)