Search:

Type: Posts; User: RadicalCaitlin

Search: Search took 0.17 seconds.

  1. Replies
    8
    Views
    1,320

    [SOLVED] Re: Stacks and Priority Queues Project

    Hey Norm,

    I'm going to have a buddy help me figure it out in person. I think it's a bit too complicated to figure out my mess over the internet, but I appreciate your time.

    Thank you
  2. Replies
    8
    Views
    1,320

    [SOLVED] Re: Stacks and Priority Queues Project

    The values are read in from a csv file... but I moved the code around to be:


    public Stack(int x){

    maxSize = x;
    stateArray = new State[maxSize];
    top = -1;

    }
  3. Replies
    8
    Views
    1,320

    [SOLVED] Re: Stacks and Priority Queues Project

    this Priority (id=17)
    maxSize 0
    stateArray null
    count 56

    This is what it says.
  4. Replies
    8
    Views
    1,320

    [SOLVED] Re: Stacks and Priority Queues Project

    Exception in thread "main" java.lang.NullPointerException
    at Priority.<init>(Priority.java:9)
    at Project2.main(Project2.java:37)
  5. Replies
    8
    Views
    1,320

    [SOLVED] Stacks and Priority Queues Project

    So I have 3 classes in this project, and I'm to the point where I have no idea what I'm doing, so if anyone could help me with anything, I would greatly appreciate it.
    When it compiles, I get a null...
Results 1 to 5 of 5