recycling : Java Glossary

The CurrCon Java Applet displays prices on this web page converted with today’s exchange rates into your local international currency, e.g. Euros, US dollars, Canadian dollars, British Pounds, Indian Rupees… CurrCon requires an up-to-date browser and Java version 1.5 or later, preferably 1.7.0_04. If you can’t see the prices in your local currency, Troubleshoot
recycling
The usual Java programming style creates objects in profusion then almost immediately abandons them. This creates need for frequent garbage collection. If it does not disturb your programming logic, sometimes it makes sense to recycle Objects. You might reuse the same StringBuilder over and over by using the setLength( 0 ). Realise though that the internal buffer will grow to the size of the biggest string you ever composed. You can reuse an ArrayList with ArrayList.clear().

The drawback is the runtime won’t warn you if you reuse an object without clearing it first. If you always get a new on, NullPointerException will warn you if you fail to allocate.

Plastic Recycling

Plastics are often marked with a Resin Code to indicate how they should be recycled.
Resin Plastic Recycling Codes
Resin
Code
Technical Name Typical Uses
resin recycling code 1 PETE (Polyethylene Terephthalate) soft drink bottles, deli trays, Mylar film, clear shampoo bottles, mouthwash bottles.
resin recycling code 2 HDPE (High Density Polyethylene) Tupperware, milk jugs, dishwashing detergent containers, juice containers, opaque shampoo bottles, oven cleaner bottles, insecticide bottles, yogurt containers
resin recycling code 3 PVC (Polyvinyl Chloride) plumbing pipes, construction materials, vinyl records, opaque shampoo bottles,
resin recycling code 4 LDPE (Low Density Polyethylene) grocery bags, dry cleaning bags, aquarium tubing.
resin recycling code 5 PP (Polypropylene) appliance parts, Tic Tac hinge lids, drinking glasses, mustard squeeze bottles, margarine containers, pudding containers
resin recycling code 6 PS (Polystyrene) styrofoam cups.
resin recycling code 7 Other plastics, including acrylic,
polycarbonate, nylon, Kevlar, fiberglass.
compact discs, DVDs.

Disposing of CD (Compact Disk)s and DVD (Digital Video Disk) s

Be careful discarding DVDs. They may contain passwords, bank accounts, credit card info, identity theft info…
There are a number of ways of disposing of CDs and DVD s:
  1. Use rewritable CDs and DVRs. You recycle them by reformatting them. When you by them, mark them in a way that you can rapidly tell them apart from write-once discs.
  2. Use a $40.00 USD DVD destroyer. It perforates disc with numerous little holes, making a loud pop every time it destroys a CD. There is an USB-powered one for $29.00 USD that breaks up the entire surface in 5 seconds.
  3. A $16.00 USD compact disc eraser will make a disc unreadable by deeply scoring it multiple times. I suspect the C.I.A. could extract data, but the discs will certainly not read in an ordinary player.
  4. A heavy duty shredder will destroy them. You might buy a heavy duty $200.00 CAD shredder from a stationery store and shred them one by one yourself, and perhaps do a favour by shredding the DVDs and CDs from your friends and family. Wear safety glasses and gloves. CDs and DVDs are brittle and shatter into glass-like shards. The remains go to land fill. Recyclers accept whole discs only.
  5. You can ask a friend who owns a heavy duty shredder if you can use his.
  6. A pair of tin snips will cut them. This is tedious and hard or your hands if you do more than a dozen or so at a sitting. For extra safety, discard the remains into two different locations.
  7. You can incinerate them.
  8. The Shred-it people will come to your house and pick them up for $150.00 CAD and incinerate them. That covers 6 banker’s boxes full. Shredding paper is cheaper. You get 15 boxes shredded for the same amount. Unfortunately their shedders don’t handle DVDs and CDs. You might consider collecting CDs and DVDs from others to make up the minimum amount and share the cost.
  9. RecyclingCDs or CD Recycling center will recycle your discs for free by taking your old CDs and DVDs and turn them into clocks. They will scratch the surfaces of the CDs before making them into clocks.
  10. I am told you can melt them in a microwave, though I have never tried it and I won’t either. Who knows what fumes will come off them!
  11. Do not try to destroy a CD or DVD with a hammer. It will shatter like glass after the three layers separate.
CD
CD Recycling center
Compact Disc Eraser
DVD
garbage collection
object pooling
Recall: shredding CDs and DVDs
RecyclingCDs: recycles old CD and DVDs
Return-It: recycling old computers, monitors, TVs
Shred-it: incinerating CDs and DVDs

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/recycling.html J:\mindprod\jgloss\recycling.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.213]
You are visitor number 12,256.