登录
首页 » Java » GeometricVersion3

GeometricVersion3

于 2020-12-10 发布 文件大小:21KB
0 250
下载积分: 1 下载次数: 16

代码说明:

  课程设计 几何图形(满分50 分) 版本1:满分10 分 设计抽象类GeometricObject 及其子类Triangle 和Circle。 GeometricObject 类设计要求如下: ■ 一个名为color 的Color 类型的私有数据域,表示对象的颜色。 ■ 一个名为filled 的Boolean 类型的私有数据域,表示对象是否填充颜色。 ■ 一个名为dateCreated 的Date 类型的私有数据域,表示对象的创建日期。 ■ 一个无参构造方法。 ■ 一个能创建特定color 和filled 的有参构造方法。 ■ 相关数据域的访问器和修改器。 ■ 两个个名为draw 和erase 的抽象方法。 ■ 一个名为getArea 的抽象方法。 ■ 一个名为getPerimeter 的抽象方法。 ■ 重写toString 方法。 Triangle 类设计要求如下: ■ 三个名为side1、side2 和 side3 的double 类型的私有数据域表示三角形的三条边。它 们的默认值是1.0。要求三个数据域保留2 位小数。 ■ 一个无参的构造方法创建默认三角形。 ■ 一个能创建带指定side1、side2 和 side3 的有参构造方法。 ■ 所有三个数据域的访问器和修改器方法。 ■ 父类抽象方法的实现。 ■ 重写toString 方法。 Circle 类(Curriculum Design Geometry (out of 50) Version 1: 10 points Design an abstract class and its subclasses GeometricObject Triangle and Circle. GeometricObject class design requirements are as follows: ■ a named color of the Color type private data field that indicates the object s color. ■ a Boolean type called filled private data field that indicates whether the object fill color. ■ Date type named dateCreated private data field, which means that the object was created. ■ a no-argument constructor. ■ one can create a specific color and filled in with arg constructor. ■ Related data field accessor and modifier. ■ two months called draw and erase the abstract methods. ■ an abstract method named getArea. ■ an abstract method named getPerimeter. ■ overridden toString method. Triangle class design requirements are as follows: ■ three named side1, side2 and a double side3 private data field indicates the type of triangle with three sides. It Our default value is 1.0. Requires)

文件列表:

GeometricVersion3
.................\.classpath,295,2013-05-18
.................\.gitignore,5,2013-05-18
.................\.project,376,2013-05-18
.................\bin
.................\...\GeometricVersion3
.................\...\.................\Circle.class,1747,2013-06-19
.................\...\.................\GeometricObject.class,238,2013-06-19
.................\...\.................\GeometricVersion3$1.class,1843,2013-06-19
.................\...\.................\GeometricVersion3$2.class,793,2013-06-19
.................\...\.................\GeometricVersion3$3.class,1420,2013-06-19
.................\...\.................\GeometricVersion3$4.class,793,2013-06-19
.................\...\.................\GeometricVersion3$5.class,982,2013-06-19
.................\...\.................\GeometricVersion3$6.class,984,2013-06-19
.................\...\.................\GeometricVersion3$7.class,983,2013-06-19
.................\...\.................\GeometricVersion3$8.class,985,2013-06-19
.................\...\.................\GeometricVersion3$9.class,928,2013-06-19
.................\...\.................\GeometricVersion3$DrawArea.class,1604,2013-06-19
.................\...\.................\GeometricVersion3.class,4180,2013-06-19
.................\...\.................\test.class,506,2013-06-19
.................\...\.................\Triangle.class,1778,2013-06-19
.................\src
.................\...\GeometricVersion3
.................\...\.................\Circle.java,1587,2013-05-29
.................\...\.................\GeometricObject.java,462,2013-05-29
.................\...\.................\GeometricVersion3.java,6418,2013-05-29
.................\...\.................\test.java,294,2013-05-28
.................\...\.................\Triangle.java,1596,2013-05-29

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CBIR
    一个基于Gabor滤波器组的多特征融合的图像检索算法(CBIR based on Multi-Features Combining Multi-parameters from Gabor Filter-bank, 简称multi法),融合了基于Gabor 小波系数的标准方差,峰态,能量,平滑度和一致性度量五个特征量度,实验表明,该算法是一种更加有效的图像检索方法。(we propose a CBIR algorithm based on Multi-Features Combining Multi-parameters from Gabor Filter-bank(called multi algorithm for short), which use Gabor filter banks and combine five features including standard deviation, kurtosis, energy, smoothness and uniformity together. The results of experiments show that this algorithm is a more effective method used for image retrieval.)
    2021-04-20 23:08:49下载
    积分:1
  • WaterMarker
    一个小巧的图片水印工具,可在图片的指定位置写入文本,文本字体可调(A small picture watermark tool)
    2012-10-10 00:08:12下载
    积分:1
  • 6283
    简易二值化演示易语言源码,例程程序使用嵌套循环改变画板颜色演示了图像二值化的简单过程。(Simple binary demonstrate easy language source code , a routine procedure uses nested loop Sketchpad color change demonstrates the binary image of a simple process .)
    2016-04-28 13:25:45下载
    积分:1
  • ImageFusion
    基于低频融合算法和小波变换编写的图像融合Matlab程序,包含了基本的小波图像分解与重构程序。(Fusion algorithm based on the low-frequency and wavelet transform image fusion prepared Matlab procedures, including the basic wavelet image decomposition and reconstruction process.)
    2008-04-22 20:06:57下载
    积分:1
  • dcmread4
    集成ITK、VTK、MFC读取DICOM的代码,建成win32程序即可。运行完美(Integrated ITK, VTK, MFC to read DICOM code, built win32 program can. Works perfect)
    2021-02-19 16:29:44下载
    积分:1
  • HBMA
    HBMA为基于块的分级匹配算法,是一种典型的运动估计算法,适用于特征追踪和运动估计(HBMA classification based on block matching algorithm is a typical motion estimation algorithm for feature tracking and motion estimation)
    2020-10-10 21:57:33下载
    积分:1
  • 00
    说明:  image 数组 高速读写 不用指针(image array IO C#)
    2009-05-07 01:37:17下载
    积分:1
  • kdfilter
    很好的点云滤波的文章,主要介绍了K-d树的滤波方法(Good point cloud filtering articles, Kd tree filtering method)
    2020-12-31 20:08:59下载
    积分:1
  • HillClimbingSegment.1.0
    程序实现Matlab下爬山法(hill-climbing)方法,用于彩色图像分割。(mage is first converted to CIE lab color space and the 3d color histogram is generated. Hill-climbing algorithm is used to find the local maximums in lab histogram, which is used to automatically decide the cluster number K as well as initial seeds for )
    2009-06-09 18:27:49下载
    积分:1
  • ex26aview1
    基于最小二乘法的相位解缠VC++算法 (least squares method based on the VC Phase Unwrapping Algorithms)
    2020-06-28 19:00:01下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载