Generics question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am reading through the basics of generics from several different
sources, and one of the things that is common amongst all of them seems
to be the example of type-safe stack and converting it to be able to use
generics. However, I am not familiar with this and I'm unsure what
exactly the Push and Pop methods are used for, and none of the examples
explain this. Could someone explain it to me?



*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: Java Generics and Erasure foobar
    ... experience writing code than reading it. ... generics makes it so much faster to learn and understand the code. ... It seems to me that HackerBob has little experience maintaining code as well. ...
    (comp.lang.java.programmer)
  • Re: Targeting builds for .NET FW 1.1 using VS 2005
    ... I remember reading somewhere about a VS2005 setting ... >that would disallow .NET 2.0 language features, like generics. ...
    (microsoft.public.dotnet.framework)
  • Re: Studying Generics
    ... I've bought Oreilly's "Java Generics", ... really like it - After reading it, many topics still seem unclear to me. ... Then look at Sun Collection code that makes extensive use of generics ...
    (comp.lang.java.programmer)
  • Re: Still no typedef
    ... some variable using generics can be quite long. ... Maybe they save the typing, ... reading over that bulk lateron :-) ...
    (comp.lang.java.programmer)
  • Re: Studying Generics
    ... I've bought Oreilly's "Java Generics", but so far I don't really like it - After reading it, many topics still seem unclear to me. ... (Hmm, imagine that - material on java.sun.com!) ...
    (comp.lang.java.programmer)