public class

NumberComparator

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

Class Overview

Divide a String in chunks of numbers (hexadecimal Upper Case supported) and other characters and compare them. 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)