• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

previous and cur array problem

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi List,

I have a multidimensional array as a field in my class which I declare at the runtime and get its elements values from a php file through parsePHP method that I have.

also calling parsePHP function is running by a thread every 5 seconds,so what I am trying to do is to keep the previous array in an another field called prevArr.

so this is my class and when I trace the prevArr in the getDifference method it gives me the same values as the curArr. I think I am missing something here.

I would appreciate any help.
 
reply
    Bookmark Topic Watch Topic
  • New Topic