📄 centroid.java
字号:
package kc.test.fuzzy;
import java.awt.*;
/**
* @author Thomas Neidhart, thomas.neidhart@gmail.com, all rights by Know-Center
* Date: Aug 3, 2005
*
* Represents a cluster centroid
*/
public class Centroid extends Point
{
/**
* Create a new centroid object
* @param x the position on the x-axis
* @param c the color
*/
public Centroid(int x, Color c) {
super(x, c);
}
/**
* Create a cloned center object
* @return the cloned centroid
*/
public Centroid clone() {
Centroid c = null;
c = (Centroid) super.clone();
return c;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -