[e-lang] Generators for the other Joe-E array types
David Wagner
daw at cs.berkeley.edu
Sun Dec 16 13:36:11 EST 2007
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.
More information about the e-lang
mailing list