break when changed?

  • Thread starter Thread starter Saurabh Kumar
  • Start date Start date
S

Saurabh Kumar

Hi,
can i make my program to automatically break when the contents of an
arraylist/queue change?
if yes, how?

Thanks.
 
Saurabh,

Who changes the contents of that arraylist, I assume the program where you
have control from.

When the problem is that you have it as a global and change it in to much
places, than I would advice you to redesign your program a little bit.

By instance when you set it in a seperate shared class, you can use the
property that sets your arraylist to do the break as you describe it.

I hope this gives an idea.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top