I am working with the Bridge2Java API from the IBM AlphaWorks. Bridge2Java allows java to communicate with ActiveX objects under Windows. I need to work with the Bloomberg ActiveX object. The object allows you to extact data from the Bloomberg market data service.
Refering to the code below. Is there a smarter way to determine if the object returned from the call to blpData.get_BLPSubscribe is an object and what are its dimensions?
You're assigning the result to a variable of type Object, so you don't need to check instance of Object again. And you're getting the Class from the object. Look at the JavaDoc for Class for how to tell if it's an array. If it is an array, you can do the same kinda thing for the objects inside the array. Hope that helps!
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi