recycling : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

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. Only types 1 and 2 are actually recycled. The chasing arrows symbol just means the plastic could in theory be recycled. Type (3) PVC (Polyvinyl Chloride) is never recycled. There is no law in the USA limiting how the symbol is used. Manufacturers can put in on anything they please. Bag-It

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 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 (Digital Video Discs).

Staples will pick up your old batteries, ink and electronics. The catch is they do not guarantee confidential handling of any personal information it may contain.

CD and DVD shredding and recycling
garbage collection
Island ReturnIt: free batteries, CD/DVD etc. disposal Vancouver Island
object pooling
Return-It: recycling old computers, monitors, TVs

This page is posted
on the web at:

http://mindprod.com/jgloss/recycling.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\recycling.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[18.226.166.106]
You are visitor number