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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -