RangerWolf
V2EX  ›  问与答

Hadoop 之中使用 HashTable 还是 HashMap ?

  •  
  •   RangerWolf · Jan 28, 2015 · 2470 views
    This topic created in 4177 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   ·   972 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:19 · PVG 05:19 · LAX 14:19 · JFK 17:19
    ♥ Do have faith in what you're doing.