MASON-INTEREST-L Archives

March 2018

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Fri, 9 Mar 2018 09:17:47 +0000
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
MIME-Version:
1.0
Message-ID:
In-Reply-To:
Content-Type:
multipart/alternative; boundary="001a11482bce9befa10566f74415"
From:
Ernesto Carrella <[log in to unmask]>
Parts/Attachments:
text/plain (742 bytes) , text/html (1100 bytes)
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?
>


ATOM RSS1 RSS2