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
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 ;
}
}
 
Don't get me started about those stupid light bulbs.
 
subject: wrapper classes
 
Similar Threads
Autoboxing Issue: Integer Wrapper==double primitive
Wrapper Classes
Accessing array using EL
Design Pattern
primary key type can't be primitive type. True?