Package edu.pdx.cs399J.j2se15

Contains examples of using the new Java lanaguage and API features that were introduced in J2SE version 1.5.

See:
          Description

Class Summary
Autoboxing Demonstrates J2SE primitive data "autoboxing" features.
CovariantReturns This class demonstrates covariant returns in JDK 1.5.
EnhancedForLoop Demonstrates J2SE's "enhanced for loop" functionality.
EnumeratedTypes Demonstrates J2SE's "enumerated type" facility.
Formatting Demonstrated J2SE 1.5's facilities for printf-style formatting.
GenericsAndLegacy1 This class demonstrates how generic collections can be used with legacy code that does not use generics.
GenericsAndLegacy2 This class demonstrates how updated domain classes that use generics can interact with legacy code that doesn't use generics.
NumericOperators Demonstrates adding behavior to enumerated types.
OverrideExample This class demonstrates the Override annotation.
OverrideSuperclass This class contains one method that is overridden in a subclass.
StaticImports Demonstrates J2SE's "static import" facility.
Tuple<A,B> A tuple class that holds two generic values.
TupleExample Uses the generic Tuple class to return a host/port combination from a single method.
VarArgs Demonstrates variable-length method arguments in J2SE 1.5.
 

Package edu.pdx.cs399J.j2se15 Description

Contains examples of using the new Java lanaguage and API features that were introduced in J2SE version 1.5.

Resources



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