From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a3e2ce4e6d56336 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-09 07:57:22 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Generic Formal Parameter for a Task Type Date: 09 Mar 2001 10:50:21 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3AA80A68.A2C8B042@worldnet.att.net> <3AA84FC7.CE523E9D@worldnet.att.net> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 984153863 3701 128.183.220.71 (9 Mar 2001 16:04:23 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 9 Mar 2001 16:04:23 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 Xref: supernews.google.com comp.lang.ada:5573 Date: 2001-03-09T16:04:23+00:00 List-Id: James Rogers writes: > > > > Although this is easily done, it is not what I wanted. I had hoped > to be able to create a generic package directly usable with most any > task type. > > This appears to be one problem not solvable in Ada, yet easily > solved in Java. Say what? Java has no notion of "generic package"! So what "problem" are you solving in Java? If you change the problem statement to "create a class that can manage tasks that are all derived from a common Object type", then that is easily done in Ada! -- -- Stephe