title: replacement of lambda expression in java 1.7
body: <pre><code> timer.scheduleAtFixedRate(() -&gt; sendTimeToAll(session),0,1,TimeUnit.SECONDS);
  </code></pre>
  
  <p>This expression is used in java 8, how to write this in java 7 version</p>