Java Linked List

Similar Posts

  • Java Stacks

    The Stack class is found in java.util and it extends the Vector Class. This means it can grow and shrink as needed, which is helpful for a Stack. As it extends a Vector, it is helpful to Parameterize the constructor. Just like the Stack that we’ve created, it has the same methods: push(), pop(), and…

  • Arrays in Java

    We’ve talked about arrays, now let’s look at how they are created in Java. In a general form, you can find something like below: Obviously type would be something like int, float, or even a class name as you can have an array of objects. Declaring an Array This means that the following are ways…

  • Java Sets

    While we didn’t look at creating a Set, we could have with several of the data structures we built – such as the binary tree if we didn’t allow duplicate data, or by searching our linked list before adding the element. It turns out that Java doesn’t provide a single Set type, but actually multiple…

  • An Introduction to GUI Design in Java

    In early versions of Java, there was a GUI (Graphical User Interface) measure using AWT (Abstract Windowing Toolkit). However, it was quickly replaced with Swing, part of the JFC (Java Foundation Classes) for a couple of reasons. Java Foundation Classes (JFC) are a set of GUI components which simplify the development of desktop applications. Java…