RangerWolf
V2EX  ›  问与答

Hadoop 之中使用 HashTable 还是 HashMap ?

  •  
  •   RangerWolf · Jan 28, 2015 · 2387 views
    This topic created in 4121 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   ·   1015 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:26 · PVG 06:26 · LAX 15:26 · JFK 18:26
    ♥ Do have faith in what you're doing.