Here are some
JavaWorld articles to look at:
A look at inner classes
Reduce class clutter in your Java designs: Use inner classes
Classes within classes
Learn the basics of nested top-level classes and inner classes
Static inner classes:
Tip:
Use static inner classes to add supplementary capabilities to your code
Readers ponder the virtues (and defects) of
anonymous inner classes:
Thinking about using anonymous inner
classes in your code? Before you make your move, find out what the Java
developer community has to say about them
Classes within classes
Learn the basics of nested
top-level classes and inner classes
Study guide: Classes within
classes
Brush up on Java terms, learn
tips and cautions, review homework assignments, and read Jeff's answers to
student questions
--------Original Message-----
From: Jon D. Hatton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 11:07 AM
To: jdjlist
Subject: [jdjlist] Inner classI have the need to use an inner class and Im curious if there is any advantage to doing thisover just making a new seperate class..putting aside the encapsulation issues of course.My usage of this inner class is a simple structure to support some specific functionalityin the parent class.. ie. a timer collection of current timers in process..Thanks for any comments---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
THIS TRANSMISSION, INCLUDING ANY ATTACHMENTS OR FILES,
CONTAINS AIRNET COMMUNICATIONS CORPORATION CONFIDENTIAL
AND PROPRIETARY INFORMATION WHICH MAY BE OTHERWISE EXEMPT
FROM DISCLOSURE.
The information is intended to be for the exclusive use of the individual
or entity named above. If you are not the intended recipient,
be advised that any disclosure, copying, distribution or other use
of this information is strictly prohibited. If you have received this
transmission in error, please notify us by telephone at 1-321-984-1990 or
by email to [EMAIL PROTECTED] immediately and do not read, print
or save this information in any manner.
