登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • UFCLS
    实现非监督的FCLS算法进行高光谱图像端元提取(Unsupervised FCLS algorithm)
    2021-04-19 20:58:51下载
    积分:1
  • Graph-Cuts-in-Vision-and-Graphics
    graphcut 图像分割经典论文 英文版(graphcut image segmentation classic paper in English)
    2020-10-30 22:09:56下载
    积分:1
  • 4
    DCT域图像水印算法,并根据携密载体提取秘密信息(DCT domain image watermarking algorithm, and extract secret information according to the carrier.)
    2018-10-30 10:39:32下载
    积分:1
  • picture-calibration
    这是图像校正程序,matlab运行环境,是我自己编的,可能没那么完美,还要有改进的地方(This is the picture calibration procedures)
    2012-03-20 11:15:52下载
    积分:1
  • lk
    说明:  光流场经典算法-LK算法,通过两幅图像计算光流场。(Lucas – Kanade Motion Estimation using Pyramids)
    2009-09-07 11:07:27下载
    积分:1
  • Image-Classification-master
    图像分类程序,此图像分类采用 SIFT + Kmeans 聚类的方法,然后调用 MLP 对其特征进行分类处理,速度实现比较快,正确率高(Image classification procedures, the use of this image classification method SIFT+ Kmeans clustering, and then call the MLP classification of its features, faster speed to achieve the correct rate)
    2021-03-30 20:09:09下载
    积分:1
  • mcmc
    马尔科夫蒙特卡罗的matlab实现程序。上传分享,希望可以借鉴他人更好的。(Monte Carlo matlab procedures. Upload and share the hope that we can learn from others better)
    2012-12-05 09:23:27下载
    积分:1
  • JPEGJsteg
    说明:  Jsteg_Mu可批量对JPEG图像进行Jsteg隐写。 Jpeg_Or 为jpeg密写的原始图像的文件夹, Jpeg_Di 为jpeg密写后密写了的图像的文件夹,code_file 为密写的文件,rate 为密写嵌入率.(Jsteg_Mu JPEG images can be batch Jsteg on steganography. Jpeg_Or jpeg steganography for the original image folder, Jpeg_Di as jpeg steganography written after the close of the images folder, code_file written document for the dense, rate for the steganography embedding rate.)
    2010-04-09 11:07:58下载
    积分:1
  • image-sharpness
    图像清晰度评价,包含标准差,空间频阈,熵,bener(Image sharpness evaluation, including standard deviation, spatial frequency threshold, entropy, bener)
    2013-05-24 17:20:31下载
    积分:1
  • JiheJiaozheng
    数字图像的几何校正,有效解决因为视角不正确、设备等因素引起的图像几何上的变形(Geometric correction of digital images, an effective solution to the deformation on the geometry of the image because the perspective is not correct, equipment, and other factors...)
    2012-02-28 00:31:38下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载