搜索资源列表
test_asynctask
- Android断点续传及网格文件下载的Java实例源代码,支持在暂停下载后继续下载,现在很多下载软件普遍都使用的功能,在Android手机软件中应用断点续传技术也是很有必要的。通过这个Android源码可学习一下如何基于Java代码实现断点续传的应用,比如如何设置当前线程下载的起点、终点,设置断点续传的开始位置,设置User-Agent ,httpURLConnection.setRequestProperty("User-Agent","NetFox") 设置断点续传的开始位置,httpURL
phone-game
- 使用JAVA编程的手机游戏,部分代码: import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.Rect public class TiledLayer extends Layer { /** * the overall height of the TiledLayer grid */ private int cellHeig
RussianBlocks
- 俄罗斯方块小游戏的Java源代码,俄罗斯方块的Java 实现,里面包括控制面板类、方格类、游戏控制主类等,方格类是组成块的基本元素,用自己的颜色来表示块的外观,俄罗斯方块游戏控制面板类,继承自JPanel.上边安放预显窗口、等级、得分、控制按钮,主要用来控制游戏进程。 -Tetris game Java source code, Tetris Java implementation, which includes control panel category, grid type, game c
cz
- AE反距离IDW、克里金Krige插值.txt I显示方法.c www.pudn.com.txt 三对角线追赶法.C 三样条插值函数算法,还包括其他的比如hermite等算法,很全.txt 二分法.c 分段线性插值.c 列主元元素消元.C 利用反距离平方加权插值算法建立规则格网在大数据量离散点数据的情况下,.txt 反距离加权插值,貌似不好用IDWUtil.java 埃特肯.c 复合梯形法.c 复合辛普森.c 弦割法.c 操作复数的类Com
IDW_JAVA
- 反距离加权插值(IDW),Gis二维等值线网格化中常用的,采用java语言实现,内有实例,测试代码,很实用的-Inverse distance weighted interpolation (IDW), Gis-dimensional contour grid commonly used, using java language, there are examples, test code, very useful
wangge
- 一个Java Applet程序,该程序使用drawLine方法绘制一个5x9的网格 -A Java Applet program that use drawLine method to draw a 5x9 grid
44497902pintuyouxi-(1)
- 用java编写一个拼图游戏,要求是3*3的格子,有一个空白格-Using java to write a jigsaw puzzle, the requirement is 3* 3 grid, there is a blank cell
DataGrid
- Web Inspector Data Grid Source Code for Java scr ipt.
TimelineGrid
- Web Inspector Timeline Grid for Java scr ipt.
jmine
- 件说明。运行java StartJMine启动程序,或双击StartJMine.bat启动扫雷游戏主程序。程序框架都在JMine.java中。JMine.java 还包括两个线程类,分别为计时器线程和胜利后等待用户重起游戏的线程。 游戏分为三个难度等级,分别有12、24、36颗雷。单击鼠标左键为踩雷。单击鼠标左键在标记,疑问,空白三种状态中循环。同时单击鼠标左右键为踩单击点在内的周围九格内所有没有标记为已标记的所有格子。同时程序从你单击第一次时开始计时,到胜利或引爆地雷终结。
DateUtil
- 分享一个时间和日期操作的工具类,获取当前日期的字符串,DateUtil类包含了标准的时间和日期格式,以及这些格式在字符串及日期之间转换的方法,获取当前日期的邮戳,日期格式转换成时间戳,得到格式化后的系统当前日期,*@param strScheme 格式模式字符串,*@return 格式化后的系统当前时间,如果有异常产生,返回空串""; 转化日期格式"MM/dd/YY、MM.dd.YY、MM-dd-YY、MM/dd/YY",并输出为正常的格式yyyy-MM-dd *@param
XIAOTUZIJIANJINBI
- JAVA经典算法编程之小兔子捡金币 在一个游戏中,小兔子可以捡金币。它会一边走一边捡掉经过的金币。当小兔子发现前方没有金币的时候,会自动右转。直到所有金币都被捡走。现在把一个NХN的方型区域内,每一格都摆方好了金币。假设小兔子从左上方第一格开始,往右边走。-JAVA programming of classic algorithms picking gold bunny in a game, you can pick up gold bunny. It walked out after pi
Chapter6_28
- java小程序,用于实现三子棋游戏:在3*3的方格中,两个游戏者轮流做标记,如果一个游戏者在网格水平,垂直,斜线上有连续三个标记就为胜利.-java applet for the realization of the three sub-chess game: in the 3* 3 grid, the two players take turns marking, if a game in the grid horizontal, vertical, diagonal, there are t
GuessName
- 路边算命把戏,“不开口知贵姓”,Java版实现 使用二维数组。收录了全部500个百家姓。 在几张小卡片(每张上面写了几十个姓)上挑选一张含有自己姓的。 然后又让他在地上的大布上的几个小方格(每格上面写了几十个姓)上挑选一格含有自己姓的。随即说出了此人的姓。 项目导入后可直接运行-Roadside fortune-telling trick, do not know your name open , Java version to achieve Using a two-d
jqgrid
- jqGrid is an Ajax-enabled Javascr ipt control that provides solutions for representing and manipulating tabular data on the web. Since the grid is a client-side solution loading data dynamically through Ajax callbacks, it can be integrated with any s
Constractuor
- * 同一个包中不能声明同名的类 * 构造器(构造方法) * 定义:创建和初始化对象的方法(初始化属性) * 1.构造方法必须在类中声明 * 2.构造方法的方法名与类名一致,包含大小写 * 3.构造方法没有返回值 * 4.使用new运算调用构造方法创建对象 * 5.Java根据不同参数的构造方法识别不同的构造方法 * * 构造方法与方法比较 * 1.语法 * 构造方法:方法名与类名一致,没有返回值,使用new运算调用构造方法
android-gme-project-students3k
- android gam: Scrabble game project in Java: This scrabble game is a word game, which is based on cross words. So typically it is also called as cross words game. There will be a grid of 15×15 size or max. Users have to move characters to up or down t
hw1
- Drunkard.java Your Drunkard class. The interface is provided. You will be completing the implementation, and a test driver for it. RandomWalkViewer.java Your RandomWalkViewer class. You create this file and class. RandomWalkComponent.java Your Ra
pintu
- 设计一个用java语言实现的数字拼图小游戏。界面主要由15个按钮,按钮上数字从“1”到“15”,面板采用网格布局,4*4分布。主要用到了awt包中的Frame、Butto,awt.event 包中的ActionListener、WindowListener接口,util包中的随机数(Random)类产生随机数。 数字移动是通过交换label属性。-Design a digital implementation using Java language puzzle game. Interfac
Calculator267
- 一个简单的Java编写的计算器,采用网格布局,实现 了基本的加减乘除功能-A simple calculator written in Java, using a grid layout to achieve the basic functions of addition, subtraction