Re: What's wrong with this sentence?



On Wed, 31 Oct 2007 17:49:51 GMT, Roedy Green
<see_website@xxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :


Hashtable<String, ItemInfo> userCart = (Hashtable)
session.getAttribute("userCart");

What happens when you cast it to a generic like this:

Hashtable<String, ItemInfo> userCart = (Hashtable)
session.getAttribute("userCart");
--

oops. In DSK Ctrl-W to send is right next to Ctrl-V to paste. It sent
this off before it was ready.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: Issue With ArrayList
    ... Roedy Green Canadian Mind Products ... Rapidly agin'. ...
    (comp.lang.java.programmer)
  • Re: Java serialization over network
    ... Roedy Green Canadian Mind Products ... "Danish studies of 10,000 birds killed revealed that almost all died in ...
    (comp.lang.java.programmer)
  • Re: Clearing the cmd window
    ... Roedy Green Canadian Mind Products ... "The most significant trend in the US industry has been the decline in the amount ...
    (comp.lang.java.help)
  • Re: [Popupmenu]What is the use of Label and Name
    ... Roedy Green Canadian Mind Products ... "Out of 135 criminals, including robbers and rapists, 118 admitted that when they were children they burned, hanged and stabbed domestic animals." ...
    (comp.lang.java.help)
  • Re: truncating text
    ... You have two tools to fine tune the size. ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.help)