Meaningless Drivel is fun!
The moose likes Java in General and the fly likes access data inside Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "access data inside Object" Watch "access data inside Object" New topic
Author

access data inside Object

David Llewellyn
Ranch Hand

Joined: Feb 01, 2005
Posts: 45
When I call a method I've instantiated through reflection, it returns an Object. How can I get at whats stored in the object? It stores a Shape3D set of data.

This is the code I'm having trouble with:


Cheers
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Cast it.


42
 
jQuery in Action, 3rd edition
 
subject: access data inside Object
 
It's not a secret anymore!