File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes instanceof  doesn´t works as expected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "instanceof  doesn´t works as expected" Watch "instanceof  doesn´t works as expected" New topic

instanceof doesn´t works as expected

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 752

when I try to do this

opprowPerson instanceof OppositionPerson

it doesnt works in BIRT but if I try to show the content


it shows pakcageName.OppositionPerson@a0d967

Any idea, please?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10824

ItDoesntWorkIsUseless TellTheDetails

That suspiciously looks like a toString() invoked on an OppositionPerson instance.

You need to provide us some background, show us some code and tell us what problem you are facing so we can help point you in the right direction

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: instanceof doesn´t works as expected
It's not a secret anymore!