Generators for the other Joe-E array types

David Wagner <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
Tyler Close writes:
>I was thinking PowerlessArray would provide a public implementation of
>the Generator interface and make use of Java's support for covariant
>return types in the implementation of the snapshot() method, so...
>
>    public final class
>    Generator<T> implements org.joe_e.array.Generator<T> {
>        public PowerlessArray<T>
>        snapshot() { return ...; }
>    }

Got it.  That should do the trick nicely.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.