aspose file tools*
The moose likes Applets and the fly likes wrapper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "wrapper classes" Watch "wrapper classes" New topic
Author

wrapper classes

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Can I have a wrapper class for static variables
Nathan Paris
Greenhorn

Joined: Jun 21, 2000
Posts: 28
You could have a wrapper class that provides a getter/setter for the static as long as it has permissions.
I.e.
class Base
{
protected static ... myStatic;
}
class Wrapper extends Base
{
public static getMyStatic()
{
return myStatic ;
}
}
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: wrapper classes