源码工程 数据结构 人工审核无毒

Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP

所属分类 数据结构
文件大小 171 K
文件格式 ZIP 文件
累计下载 51 次
分享作者
发布日期

资料详细技术说明

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.

压缩包内文件清单(共 12 个文件)

已自动扫描归档包内目录结构与文件清单 源码与文本文档支持点击「在线阅读」,二进制/媒体文件请下载压缩包后使用
1 FILE
pool.sln 897 B
包内组件
2 FILE
titletile.jpg 666 B
包内组件
3 FILE
vt.js 5.2 KB
包内组件
4 FILE
plus.jpg 4.8 KB
包内组件
5 FILE
banner.jpg 9 KB
包内组件
6 FILE
solution_pool.htm 1.1 KB
包内组件
7 FILE
banner.htm 347 B
包内组件
8 FILE
graycorner.jpg 4.8 KB
包内组件
9 FILE
minus.jpg 4.8 KB
包内组件
10 FILE
gradleft.jpg 965 B
包内组件
11 FILE
gradtop.jpg 957 B
包内组件
12 FILE
commentreport.css 2.3 KB
包内组件

相关数据结构资料推荐

下载与解压说明

下载积分规则

  • 本资源下载仅需 2 积分
  • 24 小时内重复下载免扣积分
  • VIP 会员享专属免积分高速通道

文件解压指南

  • 推荐使用 7-Zip 或新版 WinRAR 解压
  • 原理图与 PCB 请使用对应 EDA 软件打开
  • 压缩包内源码可直接在上方在线预览

免费获取积分