-
StrategyHaoc
用java语言实现策略模式
BubbleSort.java——冒泡排序算法
ChooseSort.java——选择排序算法
InsertSort.java——插入排序算法
MergeSort.java——合并排序算法
SortStrategy.java——排序算法的接口
Sort.java——排序类,通过此类的sort()可以对实现了Comparable接口的数组进行升序
SortMain.java——显示界面排序(Using java language model to achieve the strategy BubbleSort.java-- Bubble Sort algorithm ChooseSort.java-- choice of sorting algorithm InsertSort.java-- Insertion Sort algorithm MergeSort.java-- merge sorting algorithm SortStrategy.java-- sort of the interface algorithm Sort. java- Sort category by such sort () can be achieved for an array of Comparable interface ascending SortMain.java-- Display order)
- 2009-04-11 19:34:16下载
- 积分:1
-
做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信...
做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信号延时约100ms(看QT源码,发现里面用的是100ms定时器来检测信号),后来自己照着QLocalSocket的思路封装了windows的命名管道,采用多线程来接收数据,在本机上测试通过,通信效率有明显改善。-To do more client and server-side two-way communication, using QLocalSocket/QLocalServer to achieve them simple, but the communication efficiency is too low, the client made the data, the server-side readyRead the signal delay of about 100ms (see QT source code found inside using a 100ms timer device to detect the signal), and later their shining QLocalSocket encapsulates the idea of windows named pipes, using multiple threads to receive data, tested on this machine, the communication efficiency has clearly improved.
- 2022-05-28 11:28:15下载
- 积分:1
-
武林助手 VB制作 有需要的可以参考一下
武林助手 VB制作 有需要的可以参考一下-VB production assistant martial arts has needed for reference
- 2022-06-11 13:45:27下载
- 积分:1
-
记录IE地址栏的程序
记录IE地址栏的程序-record IE address bar procedures
- 2023-06-26 20:10:03下载
- 积分:1
-
Gp_Src
说明: VC++ 6.0 MFC for Stock
- 2020-06-25 16:20:01下载
- 积分:1
-
FFT
说明: 傅里叶变换在信息处理应用中具有很实用的价值,而快速傅里叶变换,即FFT,是实用的计算算法。(Fourier transform has a very practical value in the application of information processing, and fast Fourier transform (FFT) is a practical calculation algorithm.)
- 2020-09-26 08:44:19下载
- 积分:1
-
code2
Package consists of 3 codes. First,to Print huffman decoding tree given.Second, to find top level view of a tree. Third, A reviewer rates the two challenges, awarding pointsfor three categories.We define the rating for two person s challenge to be the triplets .Your task is to find their comparison scores by comparing the triplets. If first digit of triplets is greater for person A, then the person A is awarded 1 point, else person B, and if equal, no one gets points.Given the triplets, compare the two challenges and print their respective comparison points.
- 2016-10-02 15:23:20下载
- 积分:1
-
Advanced.C.language
《高质量C编程指南》,作者:林锐。
非常好的C语言进阶书籍,适合于有一定C语言开发经验,希望有所提高的朋友们阅读。(<High-quality C Programming Guide>, author: Lin Rui. Very good advanced C language books, for a certain C language development experience, friends who wish to improved reading.)
- 2011-11-16 22:10:58下载
- 积分:1
-
shift-sin-wav
移动的正弦线。这一个参考了网上生成正弦线程序,新建了一个CStatic派生类,外加定时器做的使,用了双缓冲技术。涉及PostMessage函数的使用。(Moving sine line. This is a reference to generate sinusoidal line online program, created a new CStatic derived class, plus a timer to do so, with a double-buffering. Involving the use of PostMessage function.)
- 2011-05-31 13:01:17下载
- 积分:1
-
一个很好用的JS控件,所见即所得,可以直接用在网页中,将后台所编辑的东西,一模一样的在前台显示出来...
一个很好用的JS控件,所见即所得,可以直接用在网页中,将后台所编辑的东西,一模一样的在前台显示出来-a good use of JS control, WYSIWYG, can be directly used on the website, as background to edit things, the same as shown in the foreground
- 2022-01-26 03:38:01下载
- 积分:1