Collections in Java 1.4

Posted on 2006-04-05
Last Modified: 2010-03-31
I'm developing Java Web Apps on a server runnning JAVA 1.4.

I want to use collections to move my various objects around but I don't want to have to box/unbox.  I've done this in C# by creating Strongly Typed Collections, but have not been sucessful in finding info for how to do this in Java 1.4.


500 PTS.
Question by:mmarksbury
    LVL 86

    Accepted Solution

    You can't create strongly typed collections in anything < 1.5
    LVL 86

    Expert Comment

    ...and of course, typecasts are necessary < 1.5
    LVL 7

    Author Comment


    May the gods help me.

    Thanks for the feedback.
    LVL 86

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now