📄 criteriacomparable.java
字号:
/* CriteriaComparable.java (P)2001 Laurentiu Cristofor*//*laur.dm.ar - A Java package for association rule mining Copyright (C) 2002 Laurentiu CristoforThis program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or (atyour option) any later version.This program is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307USAThe laur.dm.ar package was written by Laurentiu Cristofor (laur@cs.umb.edu).*/package laur.dm.ar;/** This interface is implemented by classes who accept a criteria int parameter to their compareTo() method. @version 1.0 @author Laurentiu Cristofor */public interface CriteriaComparable{ /** * Compare the receiver with the <code>obj</code> argument according * to the criteria specified by <code>criteria</code> * * @return -1 if this is less than obj, 0 if this is equal to obj, * and 1 if this is greater than obj */ int compareTo(Object obj, int criteria);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -