com.steema.teechart.styles
Class Map.CompareOrder

java.lang.Object
  extended by com.steema.teechart.styles.Map.CompareOrder
All Implemented Interfaces:
Comparator
Enclosing class:
Map

protected class Map.CompareOrder
extends java.lang.Object
implements Comparator


Constructor Summary
protected Map.CompareOrder()
           
 
Method Summary
 int compare(int a, int b)
          Compares its two arguments for order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Map.CompareOrder

protected Map.CompareOrder()
Method Detail

compare

public final int compare(int a,
                         int b)
Description copied from interface: Comparator
Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

Specified by:
compare in interface Comparator
Parameters:
a - the first integer to be compared.
b - the second integer to be compared.
Returns:
a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.