Search:

Type: Posts; User: tomlisi92

Search: Search took 0.31 seconds.

  1. Replies
    5
    Views
    259

    Re: Linked Lists and Nodes

    i put some println statements before i compare anything and in my else statement just to see if i was getting a false positive and at first it works and tries to compare 3 to 1 and then even gets to...
  2. Replies
    5
    Views
    259

    Re: Linked Lists and Nodes

    sorry about that i added sortedlistinterface.java so it should compile now! and i print out numberOfEntries and i and they both are working correctly but im still getting the output of 1 and 4 4's...
  3. Replies
    5
    Views
    259

    Linked Lists and Nodes

    having some problems with my add function it is supposed to add another node to the list in a sorted order but i don't think its working at all and thats why im getting a null pointer exception in my...
  4. Thread: Merge Sort

    by tomlisi92
    Replies
    2
    Views
    303

    Re: Merge Sort

    I think it has something to do with my temp array because once i start trying to put a in to temp that causes the error but i cant create t without setting it to null at first
  5. Thread: Merge Sort

    by tomlisi92
    Replies
    2
    Views
    303

    Merge Sort

    I have a lab that requires me to sort type T arrays with assertion sort and merge sort. But my merge sort is giving me some problems and I'm not sure why. Thank you in advance for any help!
    ...
  6. Replies
    11
    Views
    268

    [SOLVED] Re: Im not sure whats wrong with my code

    ahhh yes wow i cant believe i missed that! but its all done now thank you so much for your help
  7. Replies
    11
    Views
    268

    [SOLVED] Re: Im not sure whats wrong with my code

    sorry



    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    The method temp(int) is undefined for the type PalindromeChecker<T>

    at...
  8. Replies
    11
    Views
    268

    [SOLVED] Re: Im not sure whats wrong with my code

    i tried using




    else if(temp[j].equals(temp(stacklength-1-j))){



    but its giving me an error for the temp in the .equals
  9. Replies
    11
    Views
    268

    [SOLVED] Re: Im not sure whats wrong with my code

    Thank you guys so much! but now im working on fixing my isPalidrome function here is what im at now if anyone wants to look



    public boolean isPalindrome() {
    int stacklength = 0;
    ...
  10. Replies
    11
    Views
    268

    [SOLVED] Re: Im not sure whats wrong with my code

    im new to java and you just confused me more haha could you explain differently
  11. Replies
    11
    Views
    268

    [SOLVED] Im not sure whats wrong with my code

    PalindromeChecker.java




    /**
    * @author lisit
    *
    * @param <T>
    */
Results 1 to 11 of 12