Subject: | |
From: | |
Reply To: | |
Date: | Fri, 9 Mar 2018 09:17:47 +0000 |
Content-Type: | multipart/alternative |
Parts/Attachments: |
|
|
You are probably importing the wrong Console; java.io.Console is final
On Thu, 8 Mar 2018, 17:28 Sean Luke, <[log in to unmask]> wrote:
> Console isn't final, and definitely not so in the current versions of
> MASON. Not sure what's going on with your compiler.
>
> Sean
>
> > On Mar 8, 2018, at 11:37 AM, Peter Gacs <[log in to unmask]> wrote:
> >
> > I am trying to extend the Console by writing my own class extending it,
> since I need to add some options.
> > Example: to save the state of the field of a cellular automaton (without
> saving everything into a checkpoint).
> > The compiler says that the Console class is final and I am not allowed
> to extend it.
> > This may have to do with the way MASON was compiled, but I don't see the
> cause. Any advice?
>
|
|
|