Search:

Type: Posts; User: bagalakadaka

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    1,420

    Re: binarysearchtree traversing

    if I cast node1 as <E> will it make a difference?
  2. Replies
    9
    Views
    1,420

    Re: binarysearchtree traversing

    ok so this is what i have so far. does it make sense??


    Node node1 = root;
    boolean result = false;

    if(root == someElement)
    return true;
    //go through left
    if(node1.left != null){
  3. Replies
    9
    Views
    1,420

    Re: binarysearchtree traversing

    I'm pretty sure it's contained in a node.
  4. Replies
    9
    Views
    1,420

    Re: binarysearchtree traversing

    done! thanks
  5. Replies
    9
    Views
    1,420

    binarysearchtree traversing

    Hi, I'm trying to figure out how to do this contains method. everything that's in the method is my code. My thinking is: start at root and go in Inorder traversal and use .equals(). Should I even do...
  6. Re: Beginners Eclipse Tutorial. How to run first java application on Eclipse?

    Hi,
    How do I look to see if people have replied to my posts (besides email)? How do I find the thread you put my post in?
    thanks
  7. Re: Beginners Eclipse Tutorial. How to run first java application on Eclipse?

    Hello world! What is the purpose of a package? I understand that a project holds packages. If you want to write two different classes that are completely unrelated to each other, would you make a new...
  8. Replies
    1
    Views
    778

    Hello World

    Hi,
    I'm a college student in Massachusetts. I would say I'm a novice in java programming.
Results 1 to 8 of 8