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

netcharts.util
Interface NFCompare

Implementing Classes:
NFUtil, NFSort

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.
15825 Shady Grove Rd.
Suite 20
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

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

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

Last Modified: Feb 20, 2004