Search:

Type: Posts; User: javapenguin

Search: Search took 0.19 seconds.

  1. Thread: Stack

    by javapenguin
    Replies
    3
    Views
    1,660

    Re: Stack

    However, as I said, unlike my DoublyLinkedList, the MyStack only knows what's in the front and the size and if the stack is empty.

    Are you sure you're supposed to be using a stack to do this?
  2. Thread: Stack

    by javapenguin
    Replies
    3
    Views
    1,660

    Re: Stack

    Also, you do realize that Integer has a method called compareTo(Object obj) that will let you compare Integers to see which one is greater. You'll need to make the two Stacks parallel so that when...
  3. Thread: Stack

    by javapenguin
    Replies
    3
    Views
    1,660

    Re: Stack

    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JOptionPane;
    import java.util.*;
    import java.io.*;
    //Paul Adcock
    // Assignment 4
    // Lasted Worked On: 10/12/2010

    //...
Results 1 to 3 of 3