V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
RangerWolf
V2EX  ›  问与答

Hadoop 之中使用 HashTable 还是 HashMap ?

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