Closed Thread Icon

Preserved Topic: Java lists... Pages that link to <a href="https://ozoneasylum.com/backlink?for=21029" title="Pages that link to Preserved Topic: Java lists..." rel="nofollow" >Preserved Topic: Java lists...\

 
Author Thread
synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 04-09-2002 16:14

I don't see the point in using lists in Java when you could just as easily use Arrays or Vectors to do the job. Our profs here insist on doing everything in lists, and I just think that's retarded. I'm just wondering what others have to say about Java lists.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-09-2002 16:27

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-09-2002 16:38

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 04-09-2002 16:45

Use an array tree or a heap.

They are far faster to search through.

p.s. this is a sort of joke... I got it, but I doubt anyone else is going to. It might just be funny to me... hmmm... sorry.



[This message has been edited by WarMage (edited 04-09-2002).]

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-09-2002 16:54

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 04-09-2002 23:30

They are not built in classes you have to code them yourself.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-09-2002 23:43

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Dark Phoenix
Paranoid (IV) Inmate

From: Harrow, Ontario, Canada
Insane since: Feb 2002

posted posted 04-10-2002 00:54

I know how you feel; I spent most of the second half of this year being told how much better lists are than arrays. They haven't even mentioned the Vector class yet; but they've gotten to Linked Lists, Trees, Hashing, etc.

"No one's going to give you a map; you've got to walk your own path." - Hot Ice Hilda, Outlaw Star.

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 04-10-2002 02:14

Well, I'm far ahead of my class (seeing as how I love programming and do it in my spare time anyways), but I'm not a huge fan of lists. The last 3 out of 5 assignments were done using lists. They can be found here. I know my prof know's his stuff and he's not an idiot, but I just don't see the value in teaching lists for over 2/3 of the semester. They have never taught applets at all (besides basic graphics, shapes and colors, oooooo) which irritates me because I would have loved to do assignments on applets. Anyways, there's my rant

BTW, when I say lists, I'm talking about Linked Lists - not ArrayLists.

[This message has been edited by synax (edited 04-10-2002).]

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-10-2002 14:05

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Dark Phoenix
Paranoid (IV) Inmate

From: Harrow, Ontario, Canada
Insane since: Feb 2002

posted posted 04-10-2002 16:18

Well, I'm far ahead of my class (seeing as how I love programming and do it in my spare time anyways), but I'm not a huge fan of lists. The last 3 out of 5 assignments were done using lists. They can be found here. I know my prof know's his stuff and he's not an idiot, but I just don't see the value in teaching lists for over 2/3 of the semester. They have never taught applets at all (besides basic graphics, shapes and colors, oooooo) which irritates me because I would have loved to do assignments on applets. Anyways, there's my rant

I, too, enjoy programming and do it in my spare time. Hence, I am also way ahead of anyone else in my class. That's actually how I know about Vectors; I read ahead and got into the section on advanced variable storing.

In my Java class, the word applet hasn't even been mentioned. It's all applications. And the profs tend to get mad when I use arrays instead of lists; but remember, my first true programming experience was with C, then PHP; so I'm used to using arrays and not lists.

But personally, I think Java's syntax is much nicer than C++'s. Too bad Java isn't as fast...

"No one's going to give you a map; you've got to walk your own path." - Hot Ice Hilda, Outlaw Star.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-10-2002 16:38

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-10-2002 16:42

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Dark Phoenix
Paranoid (IV) Inmate

From: Harrow, Ontario, Canada
Insane since: Feb 2002

posted posted 04-10-2002 17:12

Well, I like learning on my own anyway.

"No one's going to give you a map; you've got to walk your own path." - Hot Ice Hilda, Outlaw Star.

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 04-11-2002 00:59

I agree - I never go to class anyways, and I keep my A+ average, so all is well there.

BTW, here's BASIC drawing stuff that we did (our first assignment in java ever): here and here. Mine's here incase you're interested I was pretty proud of that, especially considering the quality of all the other people's assignments.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-11-2002 01:55

Hmm since I haven't used lists in Java I could be speaking completely out of my arse here however.

I've had to use lists a lot because I've gotten stuck using TcL a lot here at work which uses lists like they're all there is our's look like this :

{item {subitem subitem}} etc.

Is this what Java Lists are like?

If so I've actually found them to be great for huge abounts of multi-dimensional data, and after getting used to them I actually like them better than arrays for many applications.

That being said I have no idea if these are the same things so I'm gonna shut up now




.:[ The Tao of Steve ]:.
Be Desireless
Be Excellent
Be Gone
...................................

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 04-11-2002 04:01

Not quite. Not with linked lists anyways. For our latest assignment, we had to use linked lists to Network a list of people together. Instead of me explaining it, I'll just provide a link to it.

My solution: http://some.scudly.com/Network.java
Oh my shit does my indentation ever get messed up! Damn you Homesite, damn you to hell!!!



[This message has been edited by synax (edited 04-11-2002).]

Dark Phoenix
Paranoid (IV) Inmate

From: Harrow, Ontario, Canada
Insane since: Feb 2002

posted posted 04-11-2002 16:29

I actually have a C average; but the marks kind of lie. Basically, the professors are testing to see who can write error-free programs in one try, without testing.

Now, everyone who programs in any language knows that this situation is probably the rarest in programming, and is very rarely done in the real world. What kind of idiot would write a program in 20 minutes, not test it, then send it to his/her employer saying it will work perfectly?

The answer: a rapidly unemployed idiot.

"No one's going to give you a map; you've got to walk your own path." - Hot Ice Hilda, Outlaw Star.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-11-2002 16:57

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu