com.steema.teechart.styles
Class Pie.CompareSlice

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

protected class Pie.CompareSlice
extends java.lang.Object
implements Comparator


Constructor Summary
protected Pie.CompareSlice()
           
 
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

Pie.CompareSlice

protected Pie.CompareSlice()
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.