Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Location
    India
    Posts
    1
    Rep Power
    0

    Default Not Able to getInstanceOf Object

    Hi guys,

    I am trying identify whether particular object is an instance of the Object,I am using this in the blackberry java application,I am using Eclipse IDE,Even though Object shows it as RenderDetails,But it is not getting under the condition of instanceof Operation,

    com.app.MyObjectDetails@db8a08fa--getting this as Eclipse debugging

    if i check as

    if (Object instanceof MyObjectDetails)
    S.o.p("MyObject")---->i am not getting here


    Any Ideas what could be the problem,?

    Regards
    Rakesh shankar.P
    Last edited by rakesh86shankar; 08-19-2011 at 08:41 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,453
    Rep Power
    20

Similar Threads

  1. Replies: 1
    Last Post: 02-02-2011, 07:11 PM
  2. Replies: 2
    Last Post: 11-26-2010, 03:12 AM
  3. Replies: 2
    Last Post: 06-22-2010, 05:29 AM
  4. Replies: 1
    Last Post: 03-04-2009, 07:14 PM
  5. Replies: 1
    Last Post: 07-22-2008, 05:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •