edu.pdx.cs399J.j2se15
Class GenericsAndLegacy1

java.lang.Object
  extended by edu.pdx.cs399J.j2se15.GenericsAndLegacy1

public class GenericsAndLegacy1
extends Object

This class demonstrates how generic collections can be used with legacy code that does not use generics.

Since:
Winter 2005
Author:
David Whitlock

Constructor Summary
GenericsAndLegacy1()
           
 
Method Summary
static void main(String[] args)
          A main program that uses generic collections with legacy code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericsAndLegacy1

public GenericsAndLegacy1()
Method Detail

main

public static void main(String[] args)
A main program that uses generic collections with legacy code.



Copyright © 2000-2009 Portland State University. All Rights Reserved.