View Single Post
  #5 (permalink)  
Old 01-04-2008, 02:02 PM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 410
Rep Power: 3
tim is on a distinguished road
Default "public static"
Sorry, I just spotted the public static modifier now. You should be able to access your list anywhere in your package like this:
Code:
List data = nodes.list;
You do not have to create an new instance nodes or extend that class. Just be careful for reading a static field with a null reference.
Did I answer your question? If not, please rephrase it.
__________________
Eyes dwelling into the past are blind to what lies in the future.
Reply With Quote