Less dumb follow-up question about super/sub classes in WDJ?

This is a follow-up question to the question which Maksim answered in this thread:
Dumb question about super/sub classes in WDJ
Question:
Is there any kind of weird C++-like statement that you can put at the top of a WDJ module to force the module to interpret any reference to superclass A as a reference to some specific subclass B of A ???

David,
1. Java has no preprocessor, so C++ tricks are not available. Also I would not recommend such tricks even in C++ if you don't want to turn your colleagues working with same code into personal enemies.
2. The phrase "easier to create a WDJ custom class loader " makes me smile. First, it's not that simple to interfere WDJ class loading scheme. Plus custom class loaders is not trivial Java topic per se.
3. The problem "replace all A-s with B-s" is typically solved using one or another GoF creation patterns, like <a href="http://en.wikipedia.org/wiki/Abstract_factory_pattern">Abstract Factory</a> or <a href="http://en.wikipedia.org/wiki/Factory_method_pattern">Factory Method</a>. You may use them with custom class loader, if you really want to
By the way, all UI controls in WD are created using Abstract Factory (role played by view). So you may use this as good example.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net

Similar Messages

  • Dumb question about super/sub classes in WDJ

    In WDJ, if you want to use some method M of some subclass B that inherits from some class A (because you've customized method M in superclass B), don't you call the method of class B in your WDJ code ???

    David,
    Actually, this is just Java.
    As with any OOP language you get polymorphic objects behavior -- you may use subclass whenever superclass is necessary. Also the version of method called will be always method from the "most derived class" -- actual class used when instantiating object, not the version from class used for declaring variable.
    By the way, this differs java from C++/C# -- all methods are virtual by nature, you should not use "override" keyword to explicitly mark method as overwritten. This C# feature bugs me several times when I did my first steps with .NET.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Yet another question about super raid - GS70

    Yes, another question about Super Raid...I recently picked up the cheapest model of the GS70 on newegg which comes with 1 mSata SSD...just a mediocre one if I remember reading correctly.  I'm interested in using MSI's Super Raid once my warranty is over with and have been reading a couple posts here:
    1. Walk through of how to reinstall OS
    --> https://forum-en.msi.com/index.php?topic=167198.msg1224063#msg1224063
    2. I'll need a Super Raid card with links to get some, for about $100 each
    --> https://forum-en.msi.com/index.php?topic=171722.msg1252847#msg1252847
    3. I can't get Super Raid unless it originally came with it?
    --> https://forum-en.msi.com/index.php?topic=171185.msg1249640#msg1249640
    So what's the bottom line? Would I still be able to enable super raid in the future or am I SOL since it didn't come with it originally?
    thanks!

    The GT70 CAN come with an adapter that has 2 (on the older, GT70 0NX models) or 3 (on newer GT70 20X models) sockets for mSATA drives. It's an optional part, that takes place of the primary SATA drive in the notebook, and physically has a different part that connects to the motherboard. If it doesn't come with the SuperRaid adapter, then it just has support for a single 2.5" SATA drive.
    The GS70 on the otherhand, has this built into the motherboard and there is no swapping it out for a normal 2.5" SATA drive. You can only use mSATA drives (on those ports). The GS70 is meant to be an ultrabook, and therefore does not have the same ability as the GT70 to house up to 2 full size 2.5" SATA drives.
    That's really the main difference here. Without physically seeing a GT70 to see how the SuperRaid adapter works, it's slightly difficult to explain.
    But in the end, I wouldn't worry about the SuperRaid....The GS70 should have support for Intel Raid Management Engine, in which case that's all you really need.

  • Question about required workshop classes for OCP

    Im working on finishing up my OCP in a few months. Quick question about the workshop class. Is there a test at the end of the week?
    Also how do most people pay for these classes? They are pretty steep and my company doesnt pay for stuff like this for me. Im paying totally out of my own pocket. Also why is the online class the same amount as the instructor lead class? Its not like im in a room at some building that Oracle has to lease for use or something.

    RedDeuce wrote:
    Im working on finishing up my OCP in a few months.What Certificate exactly are you working towards?
    Also how do most people pay for these classes? They are pretty steep and my company doesnt pay for stuff like this for me. Im paying totally out of my own pocket.Then talk to your employer again or maybe look for other jobs that support your plan better.
    Also why is the online class the same amount as the instructor lead class? Its not like im in a room at some building that Oracle has to lease for use or something.They know that you might save on expenses for travel and hotel etc.

  • Follow up question about image not looking good in canvas-Shane?

    I guess this is a follow up question for Shane....
    You wrote this in response to someone a year ago which helped me out.
    Shane's Stock Answer #49 - Why is the quality different between what I see in the Viewer and what I see in the Canvas?
    Well... the viewer is just that-- a viewer. It will display anything that fcp will recognize as usable video or graphics. The canvas is a viewer too, but at the pixel dimension specified by the settings of your project and sequence.
    For example, if your graphic or footage is much higher resolution than your 720x480 DV sequence, FCP is interpolating down your file to fit the settings of the sequence. Usually this makes it look not so hot. DV is a 5:1 compression working with a 4:1:1 color depth. Your pristine picture images and graphics are being crushed.
    Same with picture files. HIgh res pics now adopt the sequence settings and will render to those specs, and most likely they are not as high quality.
    So, based on your answer, I made an HDV sequence, dropped my DVCPro50-NTSC footage and my tiffs into the sequence and now the stills look great. Is this an okay workaround or do you have another suggestion? I'm worried about this HD sequence taking too long to make a compressed QT from in the end.
    Thanks!

    Photo JPEG is a good option.  But this all depends on what your final output will be.  If you are going to make a DVD, then that is SD, so using an HD sequence setting makes no sense.  Photo JPEG is good, but not realtime in FCP.  DV50 or ProRes NTSC are good options.
    Unless you are making an HD master...in which case ProRes 422 for HD is good

  • Some question about SUP 2.0 workflows.

    Hi experts.
    I'm trying to learn about SUP 2.0 workflows. I'have tested some examples but I continue having unresolved questions.
    we assume that I have a cliente-started application workflow. It has a MBO created with a BAPI which returns SAP customers. I have implemented it with a daily cache-refresh at 23:00.
    1º-  I suposse that everydays after 23:00 , new customers created in SAP r3 are automatilly download to my device? is this corrrect?. A part of this, if  I need to see new customers until that time, for example, How can I obtain them? make a button which run a onliquest and have a MBO ondemand cache-refresh? or online request  only obtain datas from my simulator database?
    In resume: How to forze to download new datas from SAP r3 to my device? workflows Application does not have a button to syncronize like SAP netweaver application.  onlinerequest + ondemand cache refresh is the same to syncronizate?
    2º About DCN. I have a basic server-intiated application. we assume that I have running two simulator : A and B.
    If I send a notification across workflow editor, I can type who device is going to receive the notification but Iif I need to send the notification across a http request, which field I need to fill to indicate the receiver?? In field "TO" , i type SUPAdmin but if i type the name for the device ( simulatorA), it does not work.
    Thanks very much.
    Edited by: vclement on Aug 18, 2011 12:15 PM
    Edited by: vclement on Aug 18, 2011 12:39 PM
    Edited by: vclement on Aug 18, 2011 1:23 PM

    Maybe I can help you.
    When you create the MBO, there is a Cached Group that your MBO will belongs. {Remeber that Cached Group will only appear when you switch to Advanced Developer Setting}
    IF you try to create another Cached group you have some options like:
    On Demand,
    Schedule,
    DCN and Online.
    Using the schedule you will setting the MBO make the sync in the time that you set.
    Check out this PDF: Developer Guide for Mobile Workflow Packages - Sybase Unwired Platform 2.0
    Regards,
    Fernando.

  • Follow-up question about forms and SharePoint Online

    I asked a question about life after InfoPath earlier, and got a good answer:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fb23b3d9-8a09-4267-aab5-09929f6a3082/life-after-infopath-seeking-advice
    After looking at all of the limitations of SharePoint Online, I'm wondering how developers are dealing with the limitations. Lets say you are asked to develop something that has complex logic, including fetching data from external web services, dynamically
    displaying parts of a process to people depending on role, and ending up with a printable document. In our on-premises environment, InfoPath is well suited to this task, with some code behind for some things. Or, if not using InfoPath, we would use application
    pages and workflow.
    Neither of those are available in SharePoint Online, so what would you do?

    Some things, such as the conditional display of content, can be done via JavaScript. More advanced items, such as integrating external web services would likely require a SharePoint "app". A SharePoint app is essentially a link to a separate site
    that is running an asp.net web app (or PHP, or whatever). This asp.net site can do anything it needs with any web services, or conditional formatting, or anything. Because it's registered as a SharePoint app, it can also call back into the SharePoint site
    and work with data. So, a SharePoint App could present the user with a robust form that simply sends the data back to a SharePoint list. The SharePoint app can also be surfaced on the SharePoint site itself in an iframe, so the user won't know that the form
    is hosted by another server.
    By the way, the ideas behind the app model permeate the entire SharePoint environment: instead of having the SharePoint server itself run all kinds of custom business logic, that workload is handled by other servers, so the SharePoint servers can be focused
    on running the core bits of SharePoint. InfoPath puts a large load on the servers, so it's out.  XSLT list views also put a load on the server, so they're also out. SSRS is an amazingly fantastic tool, but is not supported in the cloud (and there's no
    alternative). Timer jobs, event handlers, workflow, and many other things have been re-architected to take the load off the SharePoint servers.
    Mike G.

  • Question about using container class - Map

    hi all
    i have a question about the following :
    i have two sets of data, both use a common filed as key for the map:
    A = {a,b,d,f,g,h} and B = {a,d,e,g,i,k}, each key has a value associated with.
    i need to find out the commonality, and the difference - i.e fields are in map A but not in Map B, and some fields that are in B but not in A. is there any quick method that comes with the collection class that can calculate this? thanks

    yes, the keyset will be used to access values.
    so, SetA.retainAll(SetB) will modify the SetA so that it contains keys that are in both SetA and SetB - the intersection.
    and SetA.removeAll(SetB) will modify the SetA so that it only contains keys that are in SetA, but not in SetB?
    correct?

  • Few questions about Calendar / SimpleDateFormat classes

    Hi.
    I have few questions about Calendar class:
    1. How can I get only date representation (without the time)?
    after doing:
    Calendar cal = Calendar.getInstance();
    I tried to clear unecessary fields:
    cal.clear(Calendar.SECOND);
    cal.clear(Calendar.MINUTE);
    cal.clear(Calendar.HOUR_OF_DAY);
    But after printing the time, it seems that the HOUR was not cleared:
    SimpleDateFormat sdf1 = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    System.out.println(sdf1.format(cal.getTime()));
    ---> 03/11/2004 17:00:00
    Am I missing somthing?
    2. I want to make sure that two different formats couldn't be compared. i.e., if I'll try to parse one String according to different format -- ParseException will be thrown.
    String date = "19/04/2004 13:06:10";
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
    Date dateObj = sdf.parse(date);
    However, even though that formats are different, no exception is thrown and the return Date is 19/04/2004 00:00:00.
    How can I cause to exception to be thrown if formats are not identical?
    Thanks in advanced

    The Calendar class has a few of what Microsoft would call 'features'. :^)
    To clear the time, call:
    calendar.set(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY), 0, 0, 0);
    If you want 'pessimistic' rather than 'optimistic' date parsing, you have two options:
    1) Call calendar.setLenient(false);
    See if that is strict enough for your needs, otherwise:
    2) Write code to ensure a stricter parsing of the string passed in. For example, you could very simply check the length of the string to determine if time data is also present.
    When parsing, a string like '02/29/02' would parse to the date '03/01/02'. Setting lenient to false may fix this, but the surest way is to do some testing and then make the parsing more pessimistic where it suits your needs.
    - Saish
    "My karma ran over your dogma." - Anon

  • Follow up question about interpreting smart data test on 160GB classic

    I posted this question regarding the problem I am having with my 160GB ipod classic:
    http://discussions.apple.com/thread.jspa?threadID=2153948&tstart=0
    It appears noone is able to help me, so I have found some more information:
    In short, itunes will not write to my 160GB ipod once it reaches about 35GB / 160. Windows will write to it, but only at 500KB/sec rather than the usual 19+Mb/sec. It just crawls once it hits that point. After following some advice online I came up with the following results using the HD tests in diagnostic mode.
    smart data test:
    retracts: 138
    rallocs: 563
    pending sector: 55
    poweron hours: 1016
    starts/stops: 267
    temp: current 26C
    temp: min 19C
    temp: max 53C
    and for the HDD spec test:
    sno: (not sure if i should post a serial number?)
    FW Revision: NB100-05
    LBAs: 0x12a19eb0
    These are the only tests that show up under the I/O HardDrive section. Should there be more? It seems like there might be from what I read, but I am not sure.
    Anyway, any help interpreting these results would be greatly appreciated.

    adame wrote:
    rallocs: 563
    pending sector: 55
    etc.
    Your drive is probably toast. Compare your SmartData stats with mine:
    Retracts: 844
    *Reallocs: 12*
    *Pending Sectors: 0*
    PowerOn Hours: 2037
    Starts/Stops: 830
    Temp: Current 29c
    Temp: Min 10c
    Temp: Max 50C
    I've only 12 remapped sectors and none pending. From the Wikipedia S.M.A.R.T. article:
    *Reallocated Sectors Count*
    Count of reallocated sectors. When the hard drive finds a read/write/verification error, it marks this sector as "reallocated" and transfers data to a special reserved area (spare area). This process is also known as remapping, and "reallocated" sectors are called remaps. This is why, on modern hard disks, "bad blocks" cannot be found while testing the surface – all bad blocks are hidden in reallocated sectors. However, as the number of reallocated sectors increases, the read/write speed tends to decrease. The raw value normally represents a count of the number of bad sectors that have been found and remapped. Thus, the higher the attribute value, the more sectors the drive has had to reallocate.
    *Pending sector count*
    Number of "unstable" sectors (waiting to be remapped, because of read errors). If an unstable sector is subsequently written or read successfully, this value is decreased and the sector is not remapped. Read errors on a sector will not remap the sector (since it might be readable later); instead, the drive firmware remembers that the sector needs to be remapped, and remaps it the next time it's written.
    I'm sure you'll find the counts go up if you try to do a surface scanning disk check. Sorry it's not better news but at least you know where the problem lies. Assuming your iPod is out of warranty it's probably time to get your iPod refurbished with a new drive or to buy a new iPod.
    tt2

  • Follow Up Question about shadow Images

    Hello!
    A couple weeks ago I asked about drop shadows set with images
    and I was
    given some helpful
    advice. Something came up and I wasn't able to get back to
    putting the
    information into application until a couple days ago. Forgive
    my ignorance
    but another question has surfaced. Many here advocate that a
    serious web
    page maker learn the ins and outs of HTML and CSS. I have
    been making
    significant headway in both. Some unanswered questions
    persist and while I
    can ferit it out
    through more reading and experiementing, it seems best, for
    expedience sake
    to ask
    the question that is effecting my immediate situation. I have
    three images - top, center (this one repeats), and bottom -
    that I am trying
    to place as a background. Here is the CSS that I
    have written for the accasion, based on the advice given here
    on this forum.
    The problem I am having is applying the div tags in the
    correct manner that
    will give me the results I am looking for. Here is how the
    code renders
    through IE 7:
    http://www.ors-llc.com/AboutORS/experiment.html.
    As you see
    the images are not one continuous background image. Obviously
    I have
    something wrong here; can anyone advise?
    Thank you in advance.
    #middlediv {
    background-repeat: repeat-y;
    background-position:center;
    background-image:
    url(../Sitewide%20CSS,%20Images,%20etc/Images/Background%20Images%20for%20Text%20Area/mai nrepeat.gif);
    #bottomdiv {
    background-repeat: no-repeat;
    background-image:
    url(../Sitewide%20CSS,%20Images,%20etc/Images/Background%20Images%20for%20Text%20Area/mai nbottom.gif);
    background-position: center bottom;
    #topdiv {
    background-repeat: no-repeat;
    background-image:
    url(../Sitewide%20CSS,%20Images,%20etc/Images/Background%20Images%20for%20Text%20Area/mai ntop.gif);
    background-position: center top;
    <div id="centercol">
    <div class="topdiv"></div>
    <div class="middlediv"></div>
    <div class="bottomdiv"></div>
    </div>

    Good luck!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Webdesigner" <[email protected]> wrote in message
    news:[email protected]...
    > Thank you! That worked very nicely. Thank you for the
    other tips as well.
    > Very helpful and appreciated.
    >
    > Best Regards
    > Webdesigner
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Most importantly, stop using file/pathnames that
    contain spaces. This
    >> will bite you when you least expect it.
    >>
    >> Then control the top/bottom margins on the <p>
    tags in those divs. The
    >> gap you are seeing is due to the top/bottom margin
    here -
    >>
    >> <div id="middlediv">
    >> <p>sdftgsdfg</p>
    >> </div>
    >>
    >> There's no need to declare position:static, as it's
    the default -
    >>
    >> position:static;
    >>
    >> And, such elements do not have a z-index, top, or
    left property, so you
    >> don't need to declare them, either.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Webdesigner" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> Hello!
    >>>
    >>> A couple weeks ago I asked about drop shadows
    set with images and I was
    >>> given some helpful
    >>> advice. Something came up and I wasn't able to
    get back to putting the
    >>> information into application until a couple days
    ago. Forgive my
    >>> ignorance
    >>> but another question has surfaced. Many here
    advocate that a serious web
    >>> page maker learn the ins and outs of HTML and
    CSS. I have been making
    >>> significant headway in both. Some unanswered
    questions persist and while
    >>> I can ferit it out
    >>> through more reading and experiementing, it
    seems best, for expedience
    >>> sake to ask
    >>> the question that is effecting my immediate
    situation. I have
    >>> three images - top, center (this one repeats),
    and bottom - that I am
    >>> trying
    >>> to place as a background. Here is the CSS that I
    >>> have written for the accasion, based on the
    advice given here on this
    >>> forum.
    >>> The problem I am having is applying the div tags
    in the correct manner
    >>> that
    >>> will give me the results I am looking for. Here
    is how the code renders
    >>> through IE 7:
    http://www.ors-llc.com/AboutORS/experiment.html.
    As you
    >>> see the images are not one continuous background
    image. Obviously I have
    >>> something wrong here; can anyone advise?
    >>>
    >>> Thank you in advance.
    >>>
    >>> #middlediv {
    >>> background-repeat: repeat-y;
    >>> background-position:center;
    >>> background-image:
    >>>
    url(../Sitewide%20CSS,%20Images,%20etc/Images/Background%20Images%20for%20Text%20Area/mai nrepeat.gif);
    >>> }
    >>> #bottomdiv {
    >>> background-repeat: no-repeat;
    >>> background-image:
    >>>
    url(../Sitewide%20CSS,%20Images,%20etc/Images/Background%20Images%20for%20Text%20Area/mai nbottom.gif);
    >>> background-position: center bottom;
    >>> }
    >>> #topdiv {
    >>> background-repeat: no-repeat;
    >>> background-image:
    >>>
    url(../Sitewide%20CSS,%20Images,%20etc/Images/Background%20Images%20for%20Text%20Area/mai ntop.gif);
    >>> background-position: center top;
    >>> }
    >>>
    >>> <div id="centercol">
    >>> <div class="topdiv"></div>
    >>> <div class="middlediv"></div>
    >>> <div class="bottomdiv"></div>
    >>> </div>
    >>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Follow up question about iTunes accounts

    My son is going to establish his own iTunes account.  Can we use the same credit card number for multiple iTunes accounts on the same iMac?

    Yes, both Apple IDs are completely seperate. Why wouldn't you be able to use the same CC for both?

  • Beginner's question about naming helper classes

    Hello,
    I am building a pretty basic multi-tier application. I want to reduce a much as possible the dependencies between the web tier and the ejb tier. Ideally I would like for the web tier to construct a request object (of class MyRequest) and send it to the ejb tier that would then return a results object (of class MyResults).
    These would therefore be the only two classes that BOTH the ejb and web tier would be aware of. All other classes would either belong to the web tier OR the ejb tier.
    My question relates to the naming of these two classes. I would like to have different package names for the two classes as follows:
    -web-tier request object will be of type com.mycompany.web.MyRequest
    -ejb-tier request object will be of type com.mycompany.ejb.MyRequest
    -web-tier results object will be of type com.mycompany.web.MyResults
    -ejb-tier results object will be of type com.mycompany.ejb.MyResults
    I am getting errors with that. Is there a way around it?
    Thanks in advance,
    Julien Martin.

    Hello PinkyDead and thanks for your answer,
    I got the errors on another project and can't remember which. Class Cast Exceptions perhaps. I had to change the package names so that they matched in the web tier and the ejb tier. (which is what I don't like).
    As far as the new project is concerned I am trying to design the application as well as possible and your comments are therefore useful. Better getting the design right before starting coding.
    Can you or anyone tell me what architecture would be better that the one I proposed?? Don't you agree that at least some classes have to be shared by the web tier and the ejb tier? How can it be otherwise?
    Thanks in advance,
    Julien.

  • Question on Assigning Sub Class References

    Hi Friends,
    I have small doubt regarding Assigning Class Reference to Super Class or Interface.
    List list= new ArrayList(); or Collection collection = new ArrayList();
    Map map=new HashMap();
    if i assing like above i may loose some of the specilized methods of ArrayList,Map etc...
    but most of the people are creating the objects in above fashion.
    can any body list out the advantages.
    Thanks in Advance!

    Agreed, you do lose some of the specialised methods.
    But sometimes its functionality you don't need.
    If your function takes a "Collection" it doesn't matter if its ArrayList or Set - you're just interested in the Collection Interface (common use case would be to obtain an Iterator to the underlying datastructure)
    Writing to the interface means that you can change the implementation at will.
    You can swap an ArrayList for a LinkedList. A HashMap for an LinkedHashMap or TreeMap. And the rest of your code is untouched, because it presumed nothing about the implementation.

  • Question  about Abstract,Final Class

    when we are using final keyword along with class definition .we are making that class final, means we can’t extend that class. The same thing happens when we make our constructors private. From usability perspective both are same ? or is there any difference?
    Secondly accounting to java syntax a class can be either final or abstract and not both .Then why language specification doesn't impose any restriction on making abstract classes constructor private. We can create an Abstract class with private Constructor (Basically utility class with all methods are static) ,to make this class Singleton .This situation is equal to abstract final class ?
    Thanks,
    Paul.

    EJP wrote:
    when we are using final keyword along with class definition .we are making that class final, means we can’t extend that class. The same thing happens when we make our constructors private.No it doesn't.
    Secondly accounting to java syntax a class can be either final or abstract and not both.Correct.
    Then why language specification doesn't impose any restriction on making abstract classes constructor private.Why should it? That proposition doesn't follow from your previous sentence.I think OP is asking about this case
    public abstract class WTF {
      private WTF() {}
      private WTF(...) {}
    }where the class is abstract and all the c'tors are final. It's an abstract class that cannot be extended, much like a final abstract class would be if it were allowed. So, since purpose of abstract classes is to be extended, the OP seems to be asking, "Why can we, in this fashion, create an abstract class that cannot be extended?"
    I don't know the answer to that, but I would guess that, while final is an explicit syntactical element for the purpose of making a class non-extensible, in the all-private-c'tors case, the non-extensibility is simply a side effect, and probably enough of a corner case that it wasn't worth the effort to explicitly forbid it in the spec.
    I also think it's something not worth thinking much about. It was certainly not a key point of some grand design.

Maybe you are looking for

  • MSS iView Errors

    Hi all.  We're getting a Portal Runtime error in our production environment when trying to view certain MSS iviews, such as Absence Days, Personal Data, Detail View Attendances, Company Properties, Emergency Contact, etc. The error looks something li

  • Rejected book order

    I am a complete beginner to all this but can anyone help me! I experienced huge problems uploading..it got stuck at 0% for hours so I finally rebooted, once I had managed to get out of Aperture, and then it all worked fine. However, I have now receiv

  • [solved] XFCE - Help customizing for touchscreen / finger friendly UI

    Now that I've managed to get the touchscreen installed and working on my daughter's xmas gift I need some help with making it a bit more finger friendly. 1) I'm looking either for a theme (or just a setting somewhere) to make the window/title bar lar

  • Error during building

    hello, i am trying to burn a dvd from idvd using professional encoding. twice at the end of burning (4 hours later) i get a message saying there has been an error during building (multiplexing?) i burned the same idvd project using high encoding and

  • Split-screen menus: do you find them useful?

    Hi all, this post could be a reminder for Apple, for the next firmware update. This depends on you, that's why i'm asking you people: do you find the split-screen menus useful? Would you appreciate the possibility of turning them off? Excluding the u