登录
首页 » 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 个回复

  • 基于深度修复算法
    基于深度图像的图像修复算法,首先得到待修复图像的深度图像,然后利用图像的深度图对破损区域进行修复。(Based on the image restoration algorithm of depth image, the depth image of the image to be repaired is obtained, and then the damaged region is repaired by using the depth map of the image.)
    2020-11-06 11:49:49下载
    积分:1
  • psoOptions
    说明:  pso粒子群优化算法参数设置,是工具箱中结合部分的核心。(PSO PSO algorithm parameter settings, Toolbox is part of the integration of the core.)
    2006-04-04 21:38:10下载
    积分:1
  • 6s
    说明:  遥感图像运用6S工具来进行大气辐射校正处理(Atmospheric Radiation Correction Processing Using 6S Tool for Remote Sensing Images)
    2019-06-20 18:12:10下载
    积分:1
  • RdwtSvdWatermarking
    将原始载体图片经过一维冗余离散小波变换分成四个子频带,分别对每个子频带进行奇异值分解, 将水印图片灰度值直接按比例缩小嵌入到奇异值矩阵中,再将此矩阵进行一次奇异值分解得到奇异值当做此子带的奇异值, 重建此子带矩阵,而后将进行反冗余离散小波变换得到嵌入载体后的水印图像。(The original image after the one-dimensional vector redundant discrete wavelet transform is divided into four subbands, respectively, of each sub-band for the singular value decomposition, the watermark image gray value scale down directly embedded into the matrix singular value, then this matrix is ​ ​ a Singular value decomposition singular value as the singular values ​ ​ of this sub-band, the reconstruction of this sub-band matrix and after anti-redundant discrete wavelet transform watermark image after embedding the carrier.)
    2020-12-22 15:59:09下载
    积分:1
  • PedestrianCounter-master
    实时统计监控视频下路人人数,采用python(This is a demo made for tracking pedestrian)
    2018-03-14 16:01:19下载
    积分:1
  • Picture
    图片处理 去噪音,去模糊为了实现较好保留图像边缘特征的有效去噪,提出了一种基于边缘检测的Contourlet 变换去噪方法(Picture Deal)
    2013-05-28 16:20:28下载
    积分:1
  • Roma_MATLAB
    基于matlab的图像小波融合测试程序,选取四副位图文件为对比(Matlab wavelet-based image fusion test program)
    2013-08-01 11:29:18下载
    积分:1
  • sp_llformatter_v21130
    This extracts features images, that can be used to detect humans and objects.
    2016-05-11 18:37:16下载
    积分:1
  • 快速双边滤波器,对双边滤波器进行的改进 FastBilateralFilter
    快速双边滤波器,对双边滤波器进行的改进,可以使用,对写论文的同学会有些帮助,可以参考看一下。(Rapid bilateral filter, to the improvement of bilateral filter, can be used, to write a paper of homecoming some help, you can refer to see.)
    2015-11-19 10:39:52下载
    积分:1
  • TOOLBOX_calib
    说明:  图形标定工具箱,内含Tsai和张正友视觉标定源程序,吐血珍藏。(Graphic calibration toolbox containing Tsai and Zhang are the Friends of visual calibration source, hematemesis collection.)
    2008-09-20 23:38:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载