登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • image_fusion_curvelet_GA
    matlab code for image fusion based on curvelet transform and genetic algorithm
    2012-10-10 20:14:57下载
    积分:1
  • total8bian
    初步的代码,只保存边界的声波逆时偏移 RTM
    2013-09-16 21:22:17下载
    积分:1
  • cc
    说明:  经典图论,其中叙述了图论的经典算法等,如最大流、最小割等相关算法。(Classical graph theory, graph theory, which describes the classical algorithms, such as maximum flow, minimum cut, and other related algorithms.)
    2011-05-11 17:52:55下载
    积分:1
  • RC_C++
    说明:  显著性检测的代码,是程明明在12年的CVPR的文章,HC,RC的算法源码。(The code for saliency detection is the source code of Cheng Mingming's CVPR article, HC, RC, in 12 years.)
    2018-03-27 21:14:02下载
    积分:1
  • inphase
    多基线干涉合成孔径雷达干涉条纹的获取,通过两幅单视复图像进行配准,获取干涉相位(Multi-baseline interferometric synthetic aperture radar interferometry fringes of the acquisition, through two single look complex image registration, access to intervention phase)
    2011-08-03 08:07:08下载
    积分:1
  • dwt
    用opencv实现对一幅图像的小波变换 opencv 图像二维小波变换(The wavelet transform of an image with opencv)
    2020-11-26 09:19:31下载
    积分:1
  • fft2andiff2
    自己编写fft2和ifft2程序并进行快速傅里叶变换试验(fft2 and ifft2)
    2012-04-27 20:28:28下载
    积分:1
  • ESS
    基于efficient subwindow search算法的windows实现(efficient subwindow search for windows )
    2009-12-27 00:08:09下载
    积分:1
  • zhezhongThreshhold
    说明:  比较硬阈值、软阈值法图像去噪,并提出折中阈值法去噪(Comparison of hard thresholding, soft thresholding image denoising, and put forward a compromise threshold denoising)
    2008-10-06 14:53:19下载
    积分:1
  • psnr
    该函数是用于计算峰值信噪比和信噪比的程序(it can be used to calculate psnr and snr)
    2009-12-22 14:56:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载