Merge branch 'javadoc'

This commit is contained in:
Ilkka Seppala
2015-08-21 23:29:48 +03:00
252 changed files with 3737 additions and 2819 deletions

View File

@@ -1,8 +1,10 @@
package com.iluwatar.callback;
/**
* Callback pattern is more native for functional languages where function is treated as first-class citizen.
* Prior to Java8 can be simulated using simple (alike command) interfaces.
*
* Callback pattern is more native for functional languages where functions are treated as first-class citizens.
* Prior to Java 8 callbacks can be simulated using simple (alike command) interfaces.
*
*/
public class App {

View File

@@ -1,7 +1,9 @@
package com.iluwatar.callback;
/**
*
* Callback interface
*
*/
public interface Callback {

View File

@@ -1,7 +1,9 @@
package com.iluwatar.callback;
/**
*
* Implementation of task that need to be executed
*
*/
public class SimpleTask extends Task {

View File

@@ -1,7 +1,9 @@
package com.iluwatar.callback;
/**
*
* Template-method class for callback hook execution
*
*/
public abstract class Task {

View File

@@ -4,6 +4,11 @@ import org.junit.Test;
import com.iluwatar.callback.App;
/**
*
* Application test
*
*/
public class AppTest {
@Test