Hi All,
I have a requirement , where a HashMap has some keys and values. To be more specific values are either "true" or "false", I need to change theses values i.e from "true" to "false" or vice versa depending on the time.
Like If there has been more than 30 minutes since the "false" value was inserted , so it should now change to "true" (and vice versa).
I know it can be achieved by a
Thread, but is there any other way it can be done , may be through some
Java API ???