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


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

Re: cannot find symbol?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!newsfeeder.ewetel.de!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
NNTP-Posting-Date Sun, 05 May 2013 05:34:14 -0500
Date Sun, 05 May 2013 11:34:12 +0100
From lipska the kat <"nospam at neversurrender dot co dot uk">
Organization Trollbusters 3
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: cannot find symbol?
References <km553l$oii$1@speranza.aioe.org>
In-Reply-To <km553l$oii$1@speranza.aioe.org>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Message-ID <C6GdnfPU9-47qBvMnZ2dnUVZ7v-dnZ2d@bt.com> (permalink)
Lines 35
X-Usenet-Provider http://www.giganews.com
X-AuthenticatedUsername NoAuthUser
X-Trace sv3-WZbgrnJg6H/9/tA79pskeb5xVghdfEairiED7doIYBWV47THO66sQOMrrOl/HvYhQjp6X7kEqvacGD6!9+b0nPqW2Hmaf5rt7FtL2tR1W88llUrq/HtOgYBMmRnl5N8Y7d348t16LOw7Bs70wyer/CcG4Cc=
X-Complaints-To abuse@btinternet.com
X-DMCA-Complaints-To abuse@btinternet.com
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2495
Xref csiph.com comp.lang.java.programmer:23839

Show key headers only | 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