Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to search the pertical objects in a Collections

Answer Posted / raj

We can search by contains(Object) method of collection
class. like
Arraylist list = new ArrayList();
list.add("a");
list.add("b");
if(list.contains("a")
{
--
--
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between object state and behavior?

995


Can I run seam outside of jboss as?

1034


What is in-memory replication?

1011


How messaging services are done, before release of JMS?

2074


Are we allowed to change the transaction isolation property in middle of a transaction?

986


Is the session factory thread safe?

1123


To what value is a variable of the string type automatically initialized?

1080


When a thread blocks on i/o, what state does it enter?

1037


What are the services in RMI ?

2302


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

2056


What’s jboss cache in short?

1061


How to implement RMI in Java?

2832


What is aop(assepct oriented programing)?

994


what is a non-repeatable read?

2320


Difference between loadclass and class.forname?

992