mercredi 14 octobre 2015

What design pattern does Java Executor framework implements?

My understanding is that it seems very similar to Abstract Factory.

Note:

The executor interface:

public interface Executor {
     public void execute();
}

And then there is an Executors class containing static factories for various Executor implementations.

Aucun commentaire:

Enregistrer un commentaire