Re: Method chaining with generics



iksrazal@xxxxxxxxxxxx wrote:

The class is autogenerated via JAXB, so I can't really just do:

Is there not a more recent versions of JAXB that copes with generics?

Hmm. I work in an environment where warnings are discouraged. Any idea
on how to get this to work, ie no warnings, without changing the Bsc
interface?

If you mix generics with old-style code you are going to get warnings.

Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.



Relevant Pages

  • Re: thread working memory and synchronized keyword
    ... cache or checks that you'll make later classically) then you can use objects using the final field semantics. ... Tom Hawtin ... Unemployed English Java programmer ...
    (comp.lang.java.programmer)
  • Re: Type inferencing
    ... extends Object&Serializable&Comparable>. ... Tom Hawtin ... Unemployed English Java programmer ...
    (comp.lang.java.programmer)
  • Re: Action Listener, Determing which button was pressed
    ... You will need a lot of buttons (which come in at a few K each, IIRC) for that to be a problem. ... Tom Hawtin ... Unemployed English Java programmer ...
    (comp.lang.java.programmer)
  • Re: Cloning a Cloneable Map
    ... subtype, may make the clone method public. ... Tom Hawtin ... Unemployed English Java programmer ...
    (comp.lang.java.programmer)
  • Re: safety of where =
    ... each individual statement should be atomic. ... Tom Hawtin ... Unemployed English Java programmer ...
    (comp.lang.java.databases)