Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Collections

created by jfunk

(idea) by burtonator (6.1 y) (print)   ?   (I like it!) Sat Dec 29 2001 at 3:49:50

In the Java programming language, the Collections API (or framework), added in JDK 1.2, provides utility classes for dealing with 'collections' of Objects.

Use of the collections package on Open Source platforms has been tough. The way the collections package was implemented (by placing everything in java.util) made it basically IMPOSSIBLE to write code that used collections AND still ran under JDK 1.1. For a long time JDK 1.1 was the only reliable JVM available on all platforms (including Linux, FreeBSD, etc). Therefore, until recently, if you wanted to use collections and at the same time write portable code, you were in trouble.

That said, the collections framework is pretty cool. For starters, a lot of the code is not synchronized which means that if you *know* your code is threadsafe, it can be made significantly faster by using collections.

Also, everything is broken out into interfaces with specific implementations. Each implementation has specific properties that your application can utilize. For example some Collections are sorted, some don't allow duplicate items, etc.


printable version
chaos

collection porn consensual crimes Nigger
PEZ I shall die, but that is all that I shall do for Death. charge-off IRC
Unicode European Alphabets abbr whiskey Xanth
small claims court Precollection Coachella Music and Arts Festival threadsafe
butcher paper Comparator Dream Log: May 21, 2001 soft link
digital library stuff Hannah's Medicinal Tick Collection What to do if you have bad credit
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Little presents from the Node Fairy:
flea
BBC Radio 4
Even things as amazing as stars burn out
Pony Bob Haslam
Oligarchical Collectivism
William Gladstone
The Ten Commandments Judge
Batman
butchering an animal
The Captcha Project
Red Headed Stranger
mandolin
Paranoia just ain't cool anymore.
New Writeups
octillion369
Frost wyrm(person)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
santo
The Host(review)
LostPsion
"Shut the Fuck Up" Theaters(idea)
beatrice
You've been slowly taking me over for nearly a year, do you know that?(idea)
Berek
YouTube(thing)
shaogo
How to Pretend to Have a Job(idea)
hapax
Les Provinciales(review)
zoeb
The Scene(review)
aneurin
Telephone Numbers for drama purposes(idea)
Everything 2 is brought to you by the letter C and The Everything Development Company