RangerWolf
V2EX  ›  问与答

Hadoop 之中使用 HashTable 还是 HashMap ?

  •  
  •   RangerWolf · Jan 28, 2015 · 2411 views
    This topic created in 4140 days ago, the information mentioned may be changed or developed.
    HashTable / HashMap 之间的区别只在面试之前了解过。 今天看到公司里一个人写的代码里面使用了HashTable, 所以想请教一下大家。
    之前看经验说,一般使用HashMap 即可。需要线程安全才需要使用HashTable
    在Hadoop解析文件内容的时候,一定需要使用HashTable 吗?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   894 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:05 · PVG 04:05 · LAX 13:05 · JFK 16:05
    ♥ Do have faith in what you're doing.