[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Discover data patterns or Create data patterns?

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: "Michael Kay" <mike@s...>
  • Date: Sun, 21 Sep 2008 21:16:26 +0530

Re:  Discover data patterns or Create data patterns?
Hi Mike,
   Len's citing of your post, made me rereading your post. I have
following question.

On Sun, Sep 21, 2008 at 12:17 AM, Michael Kay <mike@s...> wrote:

> At a purely practical level, I'm constantly wishing I could dynamically
> change an ArrayList into a LinkedList without having to know about all the
> places that might hold a reference to it.

Could you please elaborate where this scenario has a practical use
(i.e., at run-time, or within a running process/thread an ArrayList
can be treated as a LinkedList) ?

In Java, ArrayList and LinkedList both implement the List interface. I
think, in a statically typed language like Java, what you say might
not be possible. I think, in Java to implement your idea (i.e.,
swapping ArrayList and LinkedList behaviour), we can design a new type
(some form of list).

Mukul Gandhi

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.