The Artima Developer Community
Sponsored Link

Java Buzz Forum
Understanding Generics with Collections

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Deepak Anupalli

Posts: 8
Nickname: deepjava
Registered: Mar, 2007

Deepak Anupalli is a lead developer at Pramati Server Engineering Group
Understanding Generics with Collections Posted: Mar 20, 2007 10:56 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Deepak Anupalli.
Original Post: Understanding Generics with Collections
Feed Title: Deep into Java
Feed URL: http://blog.deepincode.com/feed/
Feed Description: Thoughts about Java and related technologies
Latest Java Buzz Posts
Latest Java Buzz Posts by Deepak Anupalli
Latest Posts From Deep into Java

Advertisement
In Java (prior to 5.0), a lot of times you are compelled to downcast your object to a more specific one. For example, when you add a String to a List, and when you want to retrieve your String back then you need to downcast. List myList = new ArrayList(); myList.add(“abc”); String str = (String)myList.get(0); Downcast is [...]

Read: Understanding Generics with Collections

Topic: Back to Comm Previous Topic   Next Topic Topic: flashlite fragmentation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use