登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • Brain-MRI-Ssegmentation
    自己写的分割脑组织的程序,用FCM方法分割,可以直接运行(Write their own brain tissue segmentation procedure, using FCM segmentation method can be run directly)
    2011-10-27 22:03:02下载
    积分:1
  • threhold-dealt
    关于阈值处理的一部分参考文献,对于图像的二值化等很有帮助,是经过精心选择的参考文件。(References on the part of the processing threshold for image binarization helpful, is carefully selected reference files.)
    2014-08-25 12:03:43下载
    积分:1
  • superpixelLattice_MATLAB_7_0
    说明:  实现超级像素的图像分割程序源代码,代码很全面(The realization of super-pixel image segmentation source code, code is very comprehensive)
    2008-10-28 13:42:15下载
    积分:1
  • IQA评估指标
    说明:  IQA评估指标包括PLCC,SROCC,KROCC,PSNR,SSIM (Structural Similarity),MSE (Mean Square Error),RMSE (Root Mean Square Error) ,信息熵 (Information Entropy)算法(IQA evaluation indicators include PLCC, SROCC, KROCC, PSNR, SSIM (Structural Similarity), MSE (Mean Square Error), RMSE (Root Mean Square Error) , Information Entropy (Information Entropy) algorithm)
    2021-04-06 10:09:03下载
    积分:1
  • 20 基于帧间差法进行视频目标检测
    说明:  利用帧间差分法对视频中的目标进行检测,动态,可运行(Target detection in video)
    2020-06-09 20:57:09下载
    积分:1
  • 22
    基于数学形态学实现振动信号降噪。研究了数学形态滤波器对振动信号在不同类型、不同强度噪声干扰下 的降噪能力,提出了采用开一闭和闭一开组合数学形态滤波器实现旋转机械振动信号降噪处理的方法。通过仿真 计算及实例,检验了形态滤波器的滤波效果,表明数学形态滤波器可以有效剔除脉冲、降低随机噪声干扰,提高 振动信号的信噪比。(The vibration signal noise reduction based on mathematical morphology. Mathematical morphology filter vibration signals in different types, different intensity noise, noise reduction capabilities, proposes using open-closing and close the opening combination of mathematical morphology filter rotating machinery vibration signal noise reduction processing. Simulation and examples, test the morphological filters filtering effect, indicating that the mathematical morphological filter can effectively excluded the pulse, to reduce random noise and improve the signal-to-noise ratio of the vibration signal.)
    2012-09-24 08:51:04下载
    积分:1
  • image-restoration
    对比五种模糊图像复原算法,包括:维纳滤波算法、约束最小二乘滤波算法、Richardson-Lucy(RL)算法、循环边界算法和最优窗算法。(introduces the five kinds of image restoration algorithms, including wiener filtration, constrained least squares filtering, Richardson-Lucy, cyclic boundary algorithm and optimal window algorithm.)
    2015-08-27 01:47:32下载
    积分:1
  • IDLmean
    利用ENVI/IDL,计算多幅图像的各个像元的平均值。并忽略空缺值(Use ENVI/IDL, calculate the average of each pixel of multiple images. And ignores the value of vacancies)
    2021-04-13 09:58:57下载
    积分:1
  • image-enhancement
    “一种用于夜间图像增强的算法”包括原文和程序实现并附有图像。其中‘ye’图效果最好。(A method for the night image enhancement algorithm, including the original and the program along with the image. Figure‘ye’the best.)
    2020-12-04 09:19:25下载
    积分:1
  • 统计独立算法求的信息熵
    一幅大小为256×256的256级灰度图像(每像素8bit) 如果图像的各个像素之间是统计独立的,求该图像的信息熵 -离散无记忆信源 如果图像的各个像素之间不是统计独立的,求该图像的信息熵 -图像像素的概率分布模型(A 256 gray scale image (8bit per pixel) with a size of 256 x 256 If each pixel of the image is statistically independent, the information entropy of the image is calculated Discrete memoryless source If each pixel of the image is not statistically independent, the information entropy of the image is calculated Probability distribution model of image pixels)
    2017-11-24 21:49:34下载
    积分:1
  • 696524资源总数
  • 103771会员总数
  • 43今日下载