登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • ellipse-detection-algorithm
    用matlab编写的进行椭圆检测的算法,用到Hough变换(Using matlab for ellipse detection algorithm, Hough transform is used)
    2011-07-05 14:54:42下载
    积分:1
  • 标准测试片库 Standard-test-images
    图像处理标准测试图片库,用于数字图像处理各种仿真实验。(Standard test image gallery image processing to digital image processing all kinds of simulation experiments.)
    2013-04-06 18:36:46下载
    积分:1
  • DelphiExcelSDK
    说明:  一个Excel二次开发SDK接口类附代码。(An Excel secondary development SDK interface class with code)
    2020-07-05 17:43:35下载
    积分:1
  • defect-detection
    内含完整基于图像处理的缺陷检测源代码,可以直接运行(Including a complete defect detection based on image processing source code can be directly run)
    2017-03-21 11:36:37下载
    积分:1
  • source-KALMMN
    KALMAN filtering algorithm under the matlab toolbox, Shared by everybody, good source is very good
    2017-05-14 16:12:25下载
    积分:1
  • fromirangaborfilter
    基于纹理分析的图像分割用滤波实现,需要先输入参数。%The Gabor filter is basically a Gaussian (with variances sx and sy along x and y-axes (Based on Texture Analysis for Image Segmentation with filtering to achieve, need to input parameters. The Gabor filter is basically a Gaussian (with variances sx and sy along x and y-axes)
    2007-11-14 12:42:25下载
    积分:1
  • 652697
    获取系统进程信息源码,程序结合易语言模块斩月_图像相关模块.ec,调用API函数实现屏幕差异传输。(Get system processes information source , combined with easy language module program _ Zangetsu image correlation module .ec, call the API function screen difference transmission .)
    2016-10-26 00:42:37下载
    积分:1
  • CTImageReconstruction
    ct图像重建系统,本程序需要先安装和配置好vtk环境才能编译并以命令行方式运行。(ct image reconstruction system, the program you need to install and configure vtk environment to compile and run the command line.)
    2015-12-15 17:21:08下载
    积分:1
  • shapecontext6
    形状上下文算法用于图像检索,程序中已运用了.mat文件存储图像库中的图像特征,检索效果很好。(shapecontext is used to realize imgage retrival,it shows very effective performance.)
    2011-07-11 13:46:54下载
    积分:1
  • nsct
    提出一种基于非采样contourlet变换的红外与可见光图像融合方法。高频系数结合活性度量和多分辨率系数间相关性来实现加权融合;低频系数通过局部梯度进行活性度量,再采用加权与选择相结合的规则。(Proposed a contourlet transform infrared and visible image fusion method based on non-sampling. The high-frequency coefficient binding activity to measure the correlation between multi-resolution coefficient weighted fusion activity measure low frequency coefficients of the local gradient, and then weighted and selection combining rules.)
    2020-07-17 17:58:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载