-
JAVA
使用java语言通过反射创新类的新对象,实现功能(Using java language class through reflection innovative new objects, to achieve functional)
- 2013-06-09 10:30:56下载
- 积分:1
-
java面试宝典(基础篇)
说明: java mainshi baodian chuji pian
- 2020-06-20 01:20:02下载
- 积分:1
-
MyUserWeb
完成简单用户管理登录与注册系统网页的制作(Complete simple user management login and registration system web page production)
- 2018-11-01 08:47:01下载
- 积分:1
-
graphics
实验一:类与对象实验: 几何图形类的设计
实验目的:掌握用类进行面向对象程序设计的方法,掌握使用对象作为类的成员变量,掌握方法的参数传递,掌握静态域和静态方法。
实验内容:编写4个类:Rectangle、Circle、Geometry、Exa,具体要求如下:
① Rectangle类有double型成员变量表示矩形左上角的位置坐标及矩形的宽和高,要求提供修改和返回各成员变量的方法。
② Circle类有double型成员变量表示圆心坐标和圆的半径,要求提供修改和返回各成员变量的方法。
③ Geometry类有Rectangle类和Circle型的成员变量rect和circle。即Geometry类创建的对象由一个矩形和一个圆组合而成。要求该类提供修改rect、circle位置和大小的方法;提供显示rect和circle位置关系的方法,并能够显示圆是否完全坐落于矩形中。
④ 要求能对创建的Rectangle类和Circle类对象数目进行统计。
Exa类含有main方法,在main方法中用Geometry类创建对象,该对象调用相应的方法
设置圆和矩形的位置及大小并输出圆是否包含在矩形中。输出当前Rectangle和Circle
对象数目。
(test one)
- 2014-05-05 08:37:25下载
- 积分:1
-
dict5
这是一个简单的字典程序,可供java初学者参考学习(this is simple java program about dictionary)
- 2012-05-15 14:28:24下载
- 积分:1
-
jmemory
Java监视内存使用情况,运行Java 程序一般要消耗大量的内存,这曾经是java 的一个致命弱点。当然随着硬件的飞速发展,这个缺点有所弱化,同时java 虚拟机的逐渐成熟,也使内存的消耗量减少。那么一个较小java 程序
究竟要消耗多少内存呢?本例将实现一个能自我监视内存使用的简单程序,来评估java 程序的内存消耗情况。(Java monitor memory usage, run Java programs generally consume large amounts of memory, which used to be a fatal weakness of java. Of course, with the rapid development of hardware, this shortcoming has been weakened, while mature java virtual machine, but also to reduce memory consumption. Then a small java program
How to consume much memory? This example of a simple program memory can be used for self-monitoring to assess memory consumption java program.)
- 2014-05-28 14:57:32下载
- 积分:1
-
C02
javaweb开发学习使用,此代码很好,知识点很全面(javaweb developers to learn how to use this code is very good, very comprehensive knowledge points)
- 2012-11-30 18:26:15下载
- 积分:1
-
第五大道
第五大道商城有购物车的增加删除修改和订单详情,MySQL数据库,能有数据库表(Fifth Avenue Mall has shopping cart addition, deletion, modification and order details, MySQL database, can have database tables)
- 2020-06-19 07:00:01下载
- 积分:1
-
old
群体智能算法,烟花算法,java代码,(fireworks algorithm)
- 2020-10-27 18:09:59下载
- 积分:1
-
ipdatabase-master
ipdatabase
二叉树快速搜索IP地址数据库
数据
数据源采用2015年广告协会制定的IP地址标准数据库,中国互联网广告行业统一采用的标准IP库。
原理
利用二叉树实现IP查询,首先将10进制IPV4地址转化为二进制构建二叉树,利用二叉树搜索进行搜索,查询时间复杂度log2n,比传统IP库n的查询速度高出一个量级。(Ipdatabase
Binary Tree Fast Search IP Address Database
data
The data source is the standard IP address database formulated by the Advertising Association in 2015, and the standard IP database adopted by the Internet advertising industry in China.
principle
The binary tree is used to realize IP query. Firstly, the 10-bit IPV4 address is converted into binary to construct a binary tree, and the binary tree search is used to search. The query time complexity log2n is one order of magnitude higher than that of traditional IP library n.)
- 2020-06-15 22:35:01下载
- 积分:1