Is there a way to refer to/call the method of a super class' super class?

Is there any way to essentially do what this pseudo code does?
public void someMethod()
return super.super.someMethod();
}

Imagine you had a class called C that extends class B, and class B extends class A. They all declare an instance variable called i. In the case of accessing an instance variable you could do this in class C:
((A)this).iThis is because super means the same as a cast of this.
This is not true for for method invocation though. The cast to type A does not change the method that is invoked, because the instance method to be invoked is chosen according to the run-time class of the object referred to by this. A cast does not change the class of an object; it only checks that the class is compatible with the specified type.
This is all in the JLS.

Similar Messages

  • 2 questions, 1 I tried to download developer preview 2, and it did not complete and now I cant redeem again.  Is there a way to fix without calling the 800

    2 questions, 1 I tried to download developer preview 2, and it did not complete and now I cant redeem again.  Is there a way to fix without calling the 800, 2 if i put all itunes in the cloud do i have to store it on my machine still, can i delete movies etc, on hard drive

    If you mean the Developer preview of OS X 10.8 Mountain Lion you need to be posting this to the appropriate developer forum or AppleSeed forum. We can't help you with software that hasn't been released.
    Your second question seems to be related to iTunes Match, yes? Try posting it in that forum.

  • Is there a way to programati​cally call the LabVIEW "find" function?

    Hi,
    My situation is this. I've inherited a LabVIEW program with about 375 vi's. Now when I build this into an executable, for memory reasons, I only want the "remove panel" feature set to no for vi's that are dynamically loaded. But I don't know exactly which vi's are dynamically laoded. But if I have all of the vi's in memory, I can search text for the vi name and if I find it, then that is where the vi is being dynamically loaded. That works okay, but you still have to search for each vi. I would like to run the find command through a for loop with an array of vi names as the indexed input and get some type of reply out. Is this possible or is there a better way to determine w
    hich vi's are dynamically loaded? Thanks

    Well, that's covered in my suggestion of having a program first build a list
    of all VIs in memory, and then start logging from then and only giving you
    the VIs opened since the logger started. You load the application into
    memory with all statically linked VIs then start the logger. The logger then
    notes all the VIs in memory and ignores them. You then start the
    application, and the logger notes all the VIs that are loaded in from that
    point on, excluding itself, your application and your statically linked VIs.
    All my suggestion does is gives you a list of the VIs in memory that you
    then use to see if the panel is open using the relevant property node of the
    VI- I recall you originally mentioned wanting to just type in an array of VI
    names. There's
    nothing stopping you doing this instead and having the
    program periodically see if a reference can be opened to each VI in the
    array and, if so, seeing if the panel is open. It's just that having a
    program that does as I describe will save you having to identify and type in
    all the names in such an array.
    sal wrote in message
    news:506500000005000000091C0000-984280909000@quiq.​com...
    > Hi Craig,
    > I don't think that will work. The reason is this: If a vi is in
    > memory, how do I know if it has been statically called or dynamically
    > called? Some of my vi's that are dynamically called show their front
    > panels and some do not. Maybe I'm missing something here.

  • Having placed more than one top-level VI in builder, is there a way to programmat​ically call the second applicatio​n?

    Builder allows for more than one Top-Level VI. The resulting Executable launches both applications at once. If I terminate one application, is there anyway to launch it again programmatically?

    You could monitor the names of all the VI's in memory. If the one you want running is not in the list, you can launch it dynamically.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • My wife and I each have our own apple ID's which we use on our own iPhones and iPads. We share an iMac. Is there a way of enabling Facetime on the iMac to accept calls to either of our IDs without the need to login as that particular user?

    My wife and I each have our own apple ID's which we use on our own iPhones and iPads. We share an iMac. Is there a way of enabling Facetime on the iMac to accept calls to either of our IDs without the need to login as that particular user?

    no, when using facetime you log in with the apple id you want people to reach you at, so unless you both agree to share one apple id for all the facetime you do, it will be necessary for you to logout and login each time you use the application.

  • Is there a way that I can call a Swing application

    Hi all,
    Is there a way that I can call a Swing application from html page.
    fox example when user clicks on the url in html will activate a swing local application
    thanks

    Assuming the local swing application is running, and you have an applet in the browser that has permissions to communicate with a server other than the originating server, you could use RMI or a regular socket connection.
    Due to the obvious security issues to letting javascript or an applet free access to the local machine, this is not something that a browser really supports.

  • Is there a way to restrict incoming calls to only those in your address book?

    Is there a way to restrict incoming calls to just those entries in my Contacts?

    Short answer:
    No
    Long Answer:
    No, but your carrier may have a similar facility, see:
    https://discussions.apple.com/message/16083504#16083504
    As an example.
    Regards,
    Shawn

  • Is there a way to delet one call from my

    Is there a way to delect one call instead of all my call. Like I can delet one text message or even clear the conversation, but all of my other text message will be there. Can I do the same with my call list if so how?

    tara_nash,
    At this time, there is no way to delete just one call from the recents list. It's all or nothing.
    Hope this helps,
    Jennifer B.

  • Is there a way to make a call by mini i pad without making jailbreak?

    Is there a way to make a call by mini i pad without making jailbreak? if not,  will this feature will be available in future?

    You can use Viber Out to call any land line or mobile number but you have to buy credit.

  • X6 - Is there a way of getting rid of the "Active ...

    I have an X6 on the T Mobile network. Is there a way of getting rid of the annoying "Active Diverts" message which pops up every time when making a call?

    photographer wrote:
    Go to Settings > Calling > Call Divert > Options (lower left) > Deactivate all diverts.
    Good luck!!!
    Thanks for the suggestion but won't this stop the divert to voicemail if the phone is engaged or I don't answer?
    I don't understand why the phone needs to remind me there are active diverts every time I make a call.

  • I am trying to watch Prof. Susskind's video lectures from Stanford univ.U-tube lec work fine.With itunes video and audio have synch problem.Is there a way to fix this or the people who uploaded messed up and it is too late?

    I am trying to watch Prof. Susskind's lectures from Stanford Univ. U-tube lectures work fine.With I-tunes, there is a synchronization problem between audio and video. Is there a way to fix this or the people who uploaded messed up and it is too late?

    I had thought this situation was solved but it just got worse. In addition to being without service for several days I am now being charged  a cancellation fee for a broadband service that BT disconnected in error. BT Vision was also terminated by BT but the set up charges are still in place. Does anyone know who the relevant Ombudsman is? I called BT from America on Friday - for an hour - while someone called Aruj sorted out why there is an order 'in progress' that I didn't initiate; why I have fees relating to a problem created by BT and why there are references to a house move that didn't take place and a BT Vision service I no longer have but didn't cancel myself. He assured me it would be rectified and my bill would be reduced by 139 pounds and we would get confirmation of this later that day. I asked him what chance there was that this would not actually happen - he said no chance at all; my new bill would be 23.50.
    There was no text message. An online chat person today told me there had been a fee reduction request which had been declined and there was nothing else he could help me with as he dealt only with broadband. But he would get BT Vision to email me. They always seem so helpful.............
    I'm sure I'm listed somewhere as 'a problem', there's no other explanation for why I get the runaround

  • Is there a way to reset them in the OUTLOOK template

    In setting up my Pop3 email accounts I did not group them into a singular account.
    Now they are all separate.
    Is there a way to reset them to the OUTLOOK template?

    Hi,
    I'm still not sure what you mean by "group", but based on the description, is that Outlook Profile?
    We can create multiple Outlook Profiles, with each profile we can have multiple accounts in it, that may be why you call it "group".
    We can find the profiles from Control Panel -> Search "Mail" and open it -> Show Profiles. Once Outlook starts, it has to choose a profile, or the default one.
    If you want to add accounts to the profile, double click on the profile name, then click "E-mail Accounts", then click "New" to add a new account.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Is there a way to switch back to the old color scheme for the keypad? The new black-on-white color scheme is more difficult to see and use for the visually impaired.

    Is there a way to switch back to the old color scheme for the keypad? After upgrading to ios 6, the keypad switched to a black-on-white color scheme.  I have a severe visual impairment and found the previous white-on-black color scheme much easier to see and use. 
    The inverted colors option doesn’t make things look all that better.    My dad, who does not have any serious vision problems, has put off upgrading his iphone because of the color scheme changes.    

    I have exactly the same concern. It seems it would be a simple fix for Apple to allow users to turn off the camera (and even the mic) while keeping FaceTime open -- especially now that it turns out FaceTime must remain open in order to send and receive iPhone calls on a Mac.
    I like to think this new functionality of FaceTime will be baked into a future release of Yosemite, as the current setup has that not-quite-finished feel of a work in progress. In the meantime, there's nothing like a little piece of Post-It stuck over the camera to keep the NSA from watching your face as you type a post to the Apple Support Communities.

  • Elements 13 : 1. Is there a way to stop the automatic proposal for exemption? 2. Is there any way or an update for the manipulation of the color curves like in Gimp or Paintshop?

    Elements 13 : 1. Is there a way to stop the automatic proposal for exemption?
                           2. Is there any way or an update for the manipulation of the color
                               curves like in Gimp or Paintshop?
                                                        Dankeschön für jede Antwort die weiter hilft!!

    Hey Rich,
    It is true that you cannot add more than 250 plots to a 2d-axis graph in the REPORT.  One work around is to have the graphs stacked on top of each other and plot 250 to one graph and 250 more to another graph.  I am including a TDR (you have to unzip it) file that has 12 2d-axis stacked on top of each other.  Most of the properties have been made invisible through the graph properties.  You can still see the legends however.  One caveat to this is that you will have issues accessing the different graphs.  You have to do it from a VBScript.  The following line of code worked for me:
    Call GraphObjOpen("2DAxis" + Str(NewAxis))
    Where NewAxis is a variable that defines which graph I want to look at.  You would of course have to loop through the graphs as you add data. 
    Cheers,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    12PlotStack.zip ‏12 KB

  • HT4623 I got the IOS 7.1 update and I don't like it. Is there any way that I can remove the update and return my software back to the way it was before I got the update?

    I got the IOS 7.1 update and I don't like it. Is there any way that I can remove the update and return my software back to the way it was before I got the update?
    Please, I really wnat to change my phone's sofeware back to IOS 7.0.6. I really don't like the IOS 7.1
    PLEASE HELP ME BEFORE THE IOS 7.1 DRIVES ME INSANE!

    Even though it wasn't me who started this thread i would like to say that i hate iOS 7.1 too
    They're back! The IOS haters.
    When you get a call it has some small icons of reminding and message and one white ugly "slide to answer" bar.*** seriously?
    People complained about the green bar in IOS 7.0.3. You can't please everyone with everything. Deal with it and move on. Or you can just get a Droid phone and suffer through the bizarre interface changes.
    A lot of people would really appreciate a release with the old interface back.
    People complained about every interface change that Apple has tried. As I said earlier, you can't please everyone with everything. The interface is what it is, learn it, deal with it, or move on to something more to your liking. I think they still make flip phones.

Maybe you are looking for

  • It says my session has timed out when I try and update an iOS game.What should I do to fix it?

    IT says my session has timed out when I try to update and ios game.What should I do to update my games?

  • Email submit

    Is it possible to email a PDF to 2 different people in 2 different formats? From a single user click on a Submit button I want to: 1. Silently email a copy in XDP format to a predefined addressee. 2. Bring up Outlook with the PDF document attached an

  • Safari 6.0.2 now available

    I just installed Safari 6.0.2 via Software Update on OS 10.8.2.  Apple fixed the problem.

  • Possible to connect two base stations together?

    What I want to do is connect my Mini, Wii, and X-Box 360 to an N network but it's too far from my DSL line coming in. What I would like to see is if it is possible to have one base station connected to my DSL and another on the other side of the hous

  • Archivelog backup failed

    Hi, We have oracle 10.2.0.2 database which is being backed up online daily, we want to have minimum loss of data in case of complete media failure (including Control/Redo/Datafiles & Archivelogs). CRD files are in one ASM diskgroup and Archivelogs ar