Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
资源简介:Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The pr...
上传时间: 2013-12-25
上传用户:playboys0
资源简介:this a program about talent web database used asp and VB.
上传时间: 2013-12-25
上传用户:ommshaggar
资源简介:A program to find frequent itemsets (also closed and maximal) with the eclat algorithm ,which carries out a depth first search on the subset lattice and determines the support of itemsets by intersecting transaction lists.
上传时间: 2013-12-27
上传用户:ouyangtongze
资源简介:a program that generates a pulse-width modulated (PWM)signal.
上传时间: 2015-08-15
上传用户:wfl_yy
资源简介:FIR2LIFT is a program to factor a wavelet FIR filter pair into lifting steps.
上传时间: 2016-02-04
上传用户:大三三
资源简介:A program for computing energy levels, reaction matrix and radial wave functions in the coupled-channel hyperspherical adiabatic approach
上传时间: 2016-02-24
上传用户:英雄
资源简介:A program to demonstrate a method returning an array.
上传时间: 2016-08-11
上传用户:JIUSHICHEN
资源简介:单片机中检测测错 BADCODE is a program that has a lot of errors. When you compile this file, uVision reports a number of problems that you may interactively correct.
上传时间: 2014-12-02
上传用户:13215175592
资源简介:加密算法实现 Pegwit is a program for performing public key file encryption and authentication. Encryption means that pegwit allows you to keep the information in files you send by email (or other means) confidential. Eavesdroppers ...
上传时间: 2016-12-12
上传用户:franktu
资源简介:this is a program in selling a tshirt using VB6.
上传时间: 2014-05-24
上传用户:zhouchang199
资源简介:Library of C functions that allows a program to use WinSock 2 functionality if it is available or fall back to WinSock 1.1 if it isn t.
上传时间: 2015-01-18
上传用户:LIKE
资源简介:This is a program that I did several days ago.It is about Airport Ticket Sale System.You can use it as an example.
上传时间: 2015-06-14
上传用户:skhlm
资源简介:Gcomm is a serial communications program similar to seyon, but more modern, and easier to use. Works over serial port, via TCP/IP, or a pipe through another program. Supports xmodem/ymodem/zmodem protocols. Visit the gcomm.sourceforge.net h...
上传时间: 2013-12-21
上传用户:PresidentHuang
资源简介:This program is copyrighted by it s author and you are granted a free license to use the program for non-commercial purposes. If you are interested in using the program for commercial purposes please contact Kevin W. Russell at CIS 71551...
上传时间: 2016-02-18
上传用户:wangzhen1990
资源简介:it is a java chat program Written in a RMI code. its simple to use and can be used as a project.
上传时间: 2017-04-06
上传用户:xwd2010
资源简介:a 16 by 4 ram is used for many applications as a basic component such as fifo and stack etc
上传时间: 2013-12-29
上传用户:myworkpost
资源简介:This is a program that I wrote many years ago. It is a floppy disk , disk copy,disk info,and format program. All written in masm assembler. There is also a small 252 byte driver that allows nonstandard floppy formats on dos systems below 7...
上传时间: 2013-12-21
上传用户:woshini123456
资源简介:This is an example program showing how to use the LMX2326 chip. The program configures the chip and then prompts the user for a channel number. When the channel number is entered, the pll tunes to the desired frequency.
上传时间: 2017-08-04
上传用户:小儒尼尼奥
资源简介:This is a program that receive RTCM data for DGPS applications
上传时间: 2013-12-10
上传用户:康郎
资源简介:program that demonstrates a socket connection in a mobile phone scenario.
上传时间: 2017-09-01
上传用户:源码3
资源简介:This a program to implement the so-called "dancing link" which is introduced in Knuth s paper. This is really a super acrobatic and I am sure that not many programmers can understand the algorithms.
上传时间: 2013-12-11
上传用户:784533221
资源简介:Many applications in computer graphics require complex, highly detailed models. However, the level of detail actually necessary may vary considerably. To control processing time, it is often desirable to use approximations in place of ex...
上传时间: 2014-11-22
上传用户:拔丝土豆
资源简介:VoiFax is a program that manage voice/data/fax modem in the same manner of vgetty and mgetty.VoiFax is thinking for use in the small businness as in the enterprises. It is fully compatible with vgetty scripts and manage (via efax) modem fax...
上传时间: 2014-01-18
上传用户:it男一枚
资源简介:Introduction A shared library is a collection of functions that are available for use by one or more applications running on a system. On Windows operating systems, the library is compiled into a dynamic link library (.dll) file. At run-ti...
上传时间: 2014-01-26
上传用户:2467478207
资源简介:北京大学ACM比赛题目 Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the input file and print a vertical histogram that shows how many times each letter (but...
上传时间: 2014-01-17
上传用户:410805624
资源简介:a screen handling program to provide a flashing message. You will have to design a screen layout for where messages are placed on the screen. You will also have to consider when to delay the program in order to give the user time to...
上传时间: 2016-05-04
上传用户:chongcongying
资源简介:A NTP client is a program which user can synchronize the time with time server assigned. This program is ok to use for free. The source is compressed into tar.gz Good luck to you.
上传时间: 2013-12-19
上传用户:gtf1207
资源简介:CHM decompiler is a program that converts the internal files of CHM files back into the HHP, HHC, and HHK, etc. used to compile the documentation. CHM decompiler是一个把CHM 文件的内部文件转换成 HHP, HHC,和HHK等的程序。它用于编译文件。
上传时间: 2015-01-10
上传用户:myworkpost
资源简介:a Java program that reads a file containing instructions written in self-defined file (TPL in this case), and executes those instructions. This program should take the name of the TPL file as a command line parameter, and write its output t...
上传时间: 2015-01-11
上传用户:曹云鹏
资源简介:项目描述: Env_audit is a program that ferrets out everything it can about the environment. It looks for process IDs, UID, GID, signal masks, umask, priority, file descriptors, and environmental variables. It comes with test configurations f...
上传时间: 2013-12-02
上传用户:qweqweqwe