Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23829
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <markspace@nospam.nospam> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: cannot find symbol? |
| Date | Sat, 04 May 2013 17:53:39 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 44 |
| Message-ID | <km4ac5$6cs$1@dont-email.me> (permalink) |
| References | <km3spu$v80$1@speranza.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sun, 5 May 2013 00:50:13 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="fba3415ba68d85d643935af2f52f0b4b"; logging-data="6556"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18I+/xd2lbf7zTXoAGhlSX7WsQbbwsP9uE=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
| In-Reply-To | <km3spu$v80$1@speranza.aioe.org> |
| Cancel-Lock | sha1:onfQ9mBw639Iclx81PfAkR49/iM= |
| Xref | csiph.com comp.lang.java.programmer:23829 |
Show key headers only | View raw
On 5/4/2013 1:58 PM, qwertmonkey@syberianoutpost.ru wrote:
> this is what I had in mind. The thing is that I wanted to get a typed object
Generally speaking, that was TL;DR. SSCCE = SHORT self-contained
compilable example.
However, control-F allowed me to find some things in that huge mess you
posted.
> interface verifiableCLIContext12<T_Ctxt>{
> public boolean verifyCtxt(String[] aSArs, Class<? extends T_Ctxt> TpArgK);
> // public T_Ctxt getCtxtDTO();
> public Object getCtxtDTO();
> }
public interface verifialbleCLIContext12<T> {
public boolean verifyCtxt(String[] aSArs, Class<? extends T> TpArgK);
public T getCtxtDTO();
}
looks much better than using the same identifier over and over again.
> class DTO_T_Ctxt12<T_Ctxt> implements verifiableCLIContext12<T_Ctxt> {
This is why you fail. Mostly overuse of the same crappy identifier
until you can't read it any more. I barely could read it.
class DTO_T_Ctxt12 implements verifiableCLIContext12<T_Ctxt> {
needs to be concrete. Now these work:
> private T_Ctxt tCtxt; // operating context
as will this:
> public T_Ctxt getCtxtDTO(){
Etc. I didn't read the rest. I didn't verify any of the above to
compile or test it.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
cannot find symbol? qwertmonkey@syberianoutpost.ru - 2013-05-04 20:58 +0000 Re: cannot find symbol? markspace <markspace@nospam.nospam> - 2013-05-04 17:53 -0700 Re: cannot find symbol? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-05-04 18:07 -0700
csiph-web