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
Post a Comment