RE: java Lists

  • From: "Katherine Moss" <plymouthroamer285@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sat, 11 Dec 2010 19:37:00 -0500

So then Java is a weaker language than C#?  Is that what you're saying?

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Sina Bahram
Sent: Saturday, December 11, 2010 5:45 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: java Lists

Since java 1.5.

They are actually, in a minor way, but one I really don't feel like spending
4 paragraphs on, better than the c# generics.

When you get into generics of generics and passing them around and then
getting tricky with specifiers, is when you notice the minor differences
between java and c#.

I actually wrote up an email to Ken and Chris Hofstader, both from this
list, as a part of an old project we were working on, complaining about this
difference ... *thinks to himself whether he can find that old email*



Take care,
Sina 

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Kerneels Roos
Sent: Saturday, December 11, 2010 5:39 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: java Lists

Hi, since when did Java get Generics like in C# -- just curious as to when
it became part of the Java SE JDK. Anyone know?

On 12/11/2010 8:21 PM, Sina Bahram wrote:
> It's in java.util; however, I wouldn't just use List, but rather a more
specific concept.
>
> Take care,
> Sina
> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit
> Sent: Saturday, December 11, 2010 11:07 AM
> To: bprogramming
> Subject: java Lists
>
> Greetings -- I am writing a java package that contains a method that 
> has to use class List<String>.  Unfortunately, I have gone through a 
> few screenfulls of docs, and although I find List under Collections, I 
> can't figure out what to import to get the definition of
List.
> I spent yesterday and today battling with java docs and while I could 
> continue to look for this one, I am wondering if someone could answer 
> it off the top of their head.  I have tried  importing 
> java.Collections, java.lang.Collections, java.aut.List (that isn't the
right def).
> Any info is welcome!
> TIA
> --le
>
> __________
> View the list's information and change your settings at 
> //www.freelists.org/list/programmingblind
>
> __________
> View the list's information and change your settings at 
> //www.freelists.org/list/programmingblind
>

--
Kerneels Roos
Cell: +27 (0)82 309 1998
Skype: cornelis.roos

"If one has the talent it pushes for utterance and torments one; it will
out; and then one is out with it without questioning. And, look you, there
is nothing in this thing of learning out of books. Here, here and here
(pointing to his ear, his head and his heart) is your school. If everything
is right there, then take your pen and down with it; afterward ask the
opinion of a man who knows his business."

(To a musically talented boy who asked Mozart how one might learn to
compose.)

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: