KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > util > DirectExecutor


1 package org.jgroups.util;
2
3 import java.util.concurrent.Executor JavaDoc;
4
5 /**
6  * @author Bela Ban
7  * @version $Id: DirectExecutor.java,v 1.2 2006/12/19 11:03:14 belaban Exp $
8  */

9 public class DirectExecutor implements Executor JavaDoc {
10     public void execute(Runnable JavaDoc command) {
11         command.run();
12     }
13 }
14
Popular Tags