empiricalfunction.java

来自「无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上」· Java 代码 · 共 42 行

JAVA
42
字号
// $Id: EmpiricalFunction.java,v 1.3 2003/10/07 21:46:01 idgay Exp $package net.tinyos.plot;import java.util.Vector;import java.awt.*;public class EmpiricalFunction implements Function {    public Vector points = new Vector();    public String plotStyle = new String("lines");//lines, dots, both	public EmpiricalFunction() {	}		public double f(double x) {		return Double.NaN;	}      public class PlotPoint{          double x;          double y;          double radius;          int timeout;          Color color;          String label;          public PlotPoint(double x, double y, double radius, int timeout, Color color, String label){              this.x=x;              this.y=y;              this.radius=radius;              this.timeout=timeout;              this.color=color;              this.label=label;          }          public boolean equals(PlotPoint p){              return (x==p.x && y==p.y);          }      }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?