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