Java Reference
In-Depth Information
6. On your own, try converting the CircularQueue and DynQueue classes from Try
This 8-1 into generic classes.
Raw Types and Legacy Code
Because support for generics did not exist prior to JDK 5, it was necessary for Java to
provide some transition path from old, pre-generics code. Simply put, pre-generics legacy
code had to remain both functional and compatible with generics. This meant that pre-gen-
Search WWH ::




Custom Search