-
11
说明: 一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。要求:分别用普通方法和递归方法实现(A frog can jump up a step or two at a time. Find out how many jumping methods the frog can use to jump up an n-step. Requirements: Implemented by common method and recursive method respectively)
- 2019-03-10 16:48:12下载
- 积分:1
-
2008010
编写一个线段类 MyLine,要求如下:
主要属性有: x ,y ;类型为Point (查看API)
编写构造方法,如 MyLine(Point p1 , Point p2)
编写5个成员方法。如:
检查线段是否位于第一象限check()…
求线段的长度 length() …
判断两条直线是否相交(另一线段作为参数)。
编写一点到该线段(或延长线)的距离
其他方法。
注:编写方法时,考虑利用Point类的方法
编写测试程序
(Write a segment class MyLine, requirements are as follows: The main attributes are: x, y type Point (see API) the preparation of construction methods, such as MyLine (Point p1, Point p2) prepared by five members of the method. Such as: Check whether the line segment in the first quadrant check () ... order to segment the length of the length () ... to determine whether the two straight lines intersect (the other segment as a parameter). The preparation of 1:00 to the line segment (or extension) of the distance from other methods. Note: The preparation method, consider using the Point class approach to preparing test program)
- 2009-12-24 14:03:10下载
- 积分:1
-
swing
JAVA图形界面swing的知识点。全面简练。适合初学者(JAVA swing GUI knowledge points. Comprehensive and concise. Suitable for beginners)
- 2013-11-12 15:33:13下载
- 积分:1
-
MQL4-chinese
MQL4命令中文手册,帮助学会如何使用MQL4(MQL4 command Chinese manual to help learn how to use MQL4)
- 2020-07-23 21:38:44下载
- 积分:1
-
NovelN
说明: 第一个项目:novel.spider(姑且叫他为spider吧)-jsoup,http-client
提供了三个最为底层的方法:
ChapterFactory.getChapterSpider(NovelSiteEnum novelSiteEnum).getChapters(NovelSpiderUtil.getRelativeUrl(NovelSiteEnum novelSiteEnum, url)) 获取一个爬取对应网站的章节的实体,并执行爬取任务
ContentFactory.getContentSpider(NovelSiteEnum novelSiteEnum).getContent(NovelSpiderUtil.getRelativeUrl(NovelSiteEnum novelSiteEnum,url)) 获取一个爬取对应网站的内容的实体,并执行爬取任务
NovelDownloaderObserver observer = new NovelDownloaderObserver(url) 下载小说...(ChapterFactory.getChapterSpider(NovelSiteEnum novelSiteEnum).getChapters(NovelSpiderUtil.getRelativeUrl(NovelSiteEnum novelSiteEnum, url))
ContentFactory.getContentSpider(NovelSiteEnum novelSiteEnum).getContent(NovelSpiderUtil.getRelativeUrl(NovelSiteEnum novelSiteEnum,url))
NovelDownloaderObserver observer = new NovelDownloaderObserver(url))
- 2020-06-18 13:40:02下载
- 积分:1
-
UiViewTreeEditPart
Implementation of UiElementTreeEditPart for view objects for Java Script.
- 2014-03-10 20:37:33下载
- 积分:1
-
permission-denied-stops-watches
Tests that when Geolocation permission is denied, watches are stopped, as well as one-shots.
- 2014-02-05 16:21:24下载
- 积分:1
-
CreateBean
自动生成javabean的功能,生成get&set方法之类的东西(自动生成javabean)
- 2009-12-11 11:02:06下载
- 积分:1
-
smslib
使用短信猫发送短信所需jar包。主要是通过解析串口来发送短信(Jar packets needed for sending SMS messages by SMS cat)
- 2018-11-12 19:07:50下载
- 积分:1
-
CorsConfig
说明: 遇到跨域问题把此java文件加进config类里(Add this java file to the Config class when encountering cross-domain problems)
- 2020-06-22 13:40:02下载
- 积分:1