登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • TemplateTrans
    数字图像处理中图像的增强方便的源代码,包括图像灰度修正,图像的平滑,中值滤波,图像的锐化,伪彩色和假彩色的增强等(Digital image processing image enhancement convenient source code, including the gray correction, image smoothing, median filtering, image sharpening, pseudo-color and false color enhancement, etc.)
    2013-12-02 10:50:31下载
    积分:1
  • image5
    图像灰度化处理、图像柔和处理、图像锐化处理(Grayscale image processing, image gentle processing, image sharpening)
    2010-10-17 17:23:57下载
    积分:1
  • zz
    说明:  实现机器视觉双目标定,三维重建等算法,具有很好地擦考价值( Robot with two cameras to switch recognition system. (Note that not binocular vision) and the reference used opencv1.0 cmv. )
    2012-10-28 17:09:47下载
    积分:1
  • lightcompensation
    提供了两种光照补偿的方法进行比较,一种是参考白,一种是非线性补偿,并添加了直方图比较和参考文档。(Offers two illumination compensation methods were compared, one is the reference white, one is non-linear compensation, and adds a histogram comparison and reference documentation.)
    2021-03-23 12:39:15下载
    积分:1
  • 模式识别
    说明:  对局部放电进行小波变换模式识别,解决放电破坏设备问题(Wavelet Transform Pattern Recognition for Partial Discharge)
    2020-06-17 21:40:01下载
    积分:1
  • MATLABcode
    利用Retinex中心环绕算法进行阴影去除,飞常详细并含有程序对应的PPT(Centers around the use of Retinex algorithm to remove the shadow, flying often detailed and contain procedures for the corresponding PPT)
    2009-10-16 09:35:58下载
    积分:1
  • opencv Snake
    说明:  opencv中的一段 snake的代码, opencv snake,(A piece of Snake code in opencv, opencv snake,)
    2019-06-13 10:10:47下载
    积分:1
  • matlab
    本文件中代码使用前馈卷积神经网络对图像进行去噪(In this paper, we use the feedforward convolution neural network to denoise the image.)
    2021-04-02 10:39:07下载
    积分:1
  • DR_LDA
    基于LDA降维的遥感图像分类,LDA算法函数程序,可与各种分类算法结合,提高图像分类的速率(remote sensing image cut down dimension algorithm based on LDA.)
    2014-08-26 18:06:30下载
    积分:1
  • quzaozengqiangheruihua
    图像预处理的过程彩色图像去噪,彩色图像增强,彩色图像锐化(Image pre-process color image denoising, color image enhancement, color image sharpening)
    2013-05-17 13:40:49下载
    积分:1
  • 696518资源总数
  • 104569会员总数
  • 24今日下载