RangerWolf
V2EX  ›  问与答

Hadoop 之中使用 HashTable 还是 HashMap ?

  •  
  •   RangerWolf · Jan 28, 2015 · 2513 views
    This topic created in 4204 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   ·   1617 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:16 · PVG 00:16 · LAX 09:16 · JFK 12:16
    ♥ Do have faith in what you're doing.