how to draw circular doubly linked list?

Return boolean from a doubly linked list method?

  • I have several methods inside a program for doubly-linked lists. One is removeAll(String s), which removes all occurences of the String s in the elements of the Dnodes of the doubly ...show more

  • Answer:

    First off, I don't follow why you're setting bool=false when you've set it to false initially. Once you've set it, unless it gets set to true, it shouldn't change. You could increment a count to see how many items you did indeed remove. As far as trying to test it, do you need to import the code somehow? Since your boolean is public you should be able to check it's status within the test program.

I6FICV53JJX3WX6LMIUGPN4GOI at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.