which one is performance wise advantageious from List,Set,Map?

Answer Posted / r.jainrocks@gmail.com

hi Debapriya,

can u send me some more info on collection...

i.e.

In which kind of application Set is better
In which kind of application Map is better
In which kind of application List is better

just named those kind of applications

thanks in advance...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is list ordered in java?

544


Which data type is class in java?

551


What is string [] java?

530


What is the default value of byte datatype in java?

487


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

1839






Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

532


Explain about strings in java?

622


Why does java have two ways to create child threads?

467


What does the @override annotation do?

563


How do you compare objects in java?

503


Why a dead thread occurs?

578


What is the string function?

557


What is defined as false sharing in the context of multithreading?

507


How do you convert boolean to boolean?

525


What is empty list in java?

627