摘要: 在使用这个函数时,插入类BasicAttributes对象中的BasicAttribute变量的dn或者称为key如果相同,那么最后一个被插入BasicAttribute对象将覆盖之前插入的dn相同的BasicAttribute对象。 因为这里用到了hashtable来存储BasicAttribute对象,其hashcode使用key来计算的,所以会产生以上结果。在class文件中可以看到注释,“make sure the key is already in the hashtable”,估计就是这个意思吧。 阅读全文
posted @ 2012-09-07 22:48 whombu 阅读(275) 评论(0) 推荐(0)