Re: java Lists

  • From: "qubit" <lauraeaves@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sat, 11 Dec 2010 12:12:49 -0600

Thanks Ken -- but I tried importing java.util.List.  It still fails to 
compile later on, saying it can't find List or String, and I can't do 
boolean ops on strings...
I'll read a little further but I am document loopy right now...:-O
Thanks.
--le

----- Original Message ----- 
From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, December 11, 2010 11:47 AM
Subject: RE: java Lists


This is probably what your looking for.

http://onjava.com/pub/a/onjava/2005/07/06/generics.html

Ken

-----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

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

Other related posts: