Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23839

Re: cannot find symbol?

Date 2013-05-05 11:34 +0100
From lipska the kat <"nospam at neversurrender dot co dot uk">
Organization Trollbusters 3
Newsgroups comp.lang.java.programmer
Subject Re: cannot find symbol?
References <km553l$oii$1@speranza.aioe.org>
Message-ID <C6GdnfPU9-47qBvMnZ2dnUVZ7v-dnZ2d@bt.com> (permalink)

Show all headers | View raw


On 05/05/13 09:26, qwertmonkey@syberianoutpost.ru wrote:
>> You no longer have to deal with Class tokens, instantiation, exceptions,
> or generics! ...
> ~
>> getCtxtDTO will return an Object of the static type T_Ctxt, but T_Ctxt
>> has no information about it, other than it extends Object.  In order to
>> know more about it, you need an interface or base-class.
>
>> class Foo<T_Ctxt> in Java is *not* the same as in C++. Templates are not
>> even closely possible in Java.
> ~
>> What are you even *trying* to do?
> ~
>   Daniel et al, the reason why I chose to use Class tokens, instantiation and
> generics instead of interfaces is because:
> ~
>   1) this code takes command line arguments (which are all text/of type String)
> and returns an (I was hoping for, typed) object with marshalled and addressable
> data
> ~
>   2) I don't want for users to have to write an interface for each set of
> command line arguments

[snip]

What is the possible set of command line args?
Can the arg count change per invocation?
AFAIAA a main program can't 'return' anything, when it returns it's 
finished. How do you see your users using your application?

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cannot find symbol? qwertmonkey@syberianoutpost.ru - 2013-05-05 08:26 +0000
  Re: cannot find symbol? lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-05 11:34 +0100
  Re: cannot find symbol? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-05-05 08:48 -0700

csiph-web