class - What is the most efficient way to construct a Java hash table related to filespecs -


i'm wondering efficient way make hash containing elements (in java).

i want have in hash objects of class node similar representing class file, don't use of functions , fields (i use path, filename , isdirectory), , implement few fields , methods specific objects.

important thing add constructors of nodes build basing on file objects. efficient - make node extend file or leave - unrelated moment of construction?

is node file? rare implement base class when aren't specific type of base.

it sounds don't need hierarchy in case, doesn't buy when storing metadata.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -