Overview | Package | Class | Tree | Index | Help NetCharts Pro (Applets) 7.0
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

netcharts.util
Interface NFCompare

Implementing Classes:
NFSort, NFUtil

public interface NFCompare
This interface is used for those objects wishing to use generic sort methods, like those in the NFSort class.


Method Summary
int compare(java.lang.Object d1, java.lang.Object d2)
          This method is called when two objects need to be compared.
 

Method Detail

compare

public int compare(java.lang.Object d1,
                   java.lang.Object d2)
This method is called when two objects need to be compared. The compare method should return -1 if d1 is less than d2, 0 if d1 equals d2, and 1 if d1 is greater than than d2.
Parameters:
d1 - Object one.
d2 - Object two.
Returns:
0 if equal, -1 if d1 is less than d2, 1 if d1 is greater than d2.

Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD


Visual Mining, Inc.
2099 Gaither Grove Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2010
All Rights Reserved.

NetCharts ProTM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 29, 2010