Java Collection, Set, Map or Array to hold unique sorted non blank strings -


i new java , container can use hold strings not empty , have them sorted.

so far, have been using arraylist, seems bit limited case.

thanks

use treeset or treemap, depending on requirements. both collections accept unique elements , keep them sorted.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -