登录
首页 » Java » GeometricVersion3

GeometricVersion3

于 2020-12-10 发布 文件大小:21KB
0 238
下载积分: 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 个回复

  • shujuchuli
    文档介绍了大量离散实验数据的平滑滤波处理方法(Document describes a large number of discrete experimental data smoothing filter processing method)
    2013-10-20 22:03:53下载
    积分:1
  • hu_moments
    说明:  提取图像的hu矩 使用matlab编写 相当稳定 计算速度较快(image hu moment steadily run fast very good worth trying)
    2019-03-18 15:34:35下载
    积分:1
  • UKF
    说明:  研究生期间做的unscented kalman 滤波程序,带测试例子,vc6编译(Graduate students during the unscented kalman filtering process, with the test example, vc6 compiler)
    2021-04-27 11:58:44下载
    积分:1
  • demo
    源码包括了常用的图像处理方法,代码详细,适合初学者(Source code, including the commonly used image processing method, the code in detail, suitable for beginners)
    2013-07-12 21:31:55下载
    积分:1
  • lightcomplement
    基于光线补偿的人脸检测。首先对图像进行光补,在此基础上结合肤色和发色进行人脸检测。(Light compensation based on face detection. First, the image light make up, in this based on the combination of color and hair color for face detection.)
    2021-05-12 20:30:02下载
    积分:1
  • psnr_nmse_rms
    通过matlab编写的几个关于psnr、mse的图像处理的小程序(Through several matlab written on the PSNR, MSE image processing of small procedures psnr_nmse_rms)
    2020-11-23 17:39:34下载
    积分:1
  • BeyondtheKalmanFilterParticlefiltersfortrackingapp
    一篇介绍粒子滤波的资料,介绍的很详细,适合研究粒子滤波的初学者,希望对大家有帮助(Introduce a particle filter information on the very detailed study of particle filter is suitable for beginners)
    2021-03-11 14:19:25下载
    积分:1
  • FMCW_bistatic
    调频连续波双站SAR成像源代码,采用matlab编写(the code of FMCW BiSAR imaging)
    2021-04-08 19:59:00下载
    积分:1
  • particle-filter
    本手册主要介绍粒子滤波的基本原理和其在非线性系统的应用(主要是目标跟踪、多目标跟踪、电源寿命预测方面的应用)。同时本手册最大的优点是介绍原理和应用的同时,给出实现例子的matlab代码程序,方便读者对照公式,理解代码。因此,它是相关方面的研究者快速上手和进入研究领域的快捷工具。同时,对于有一定基础的研究者,可以在本手册提供代码的基础上,做算法进一步改进和深入研究。(This manual describes the basic principles of particle filter and its application in nonlinear systems. The biggest advantage of this manual is to introduce the principles and applications of the same time, given the matlab code example implementation program, formula for the convenience of readers, to understand the code. Therefore, it is relevant researchers to quickly get up and running enter research areas shortcut tool. , Based researchers, on the basis of this manual code to do the algorithm to further improve and in-depth study.)
    2012-08-30 22:03:52下载
    积分:1
  • mtf
    可以用来计算MTF值,用matlab编写的,数据文件需要为Excel格式。(MTF can be used to calculate the value, using matlab prepared.)
    2009-11-28 18:46:44下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载