Functor: clean up javadoc
This commit is contained in:
parent
3d8ebfeed6
commit
cf723da38a
1 changed files with 9 additions and 2 deletions
|
@ -24,9 +24,16 @@ package net.kemitix.mon;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Functor interface.
|
* The Functor is used for types that can be mapped over.
|
||||||
*
|
*
|
||||||
* @param <T> the type of the functor content
|
* <p>Implementations of Functor should satisfy the following laws:</p>
|
||||||
|
*
|
||||||
|
* <ul>
|
||||||
|
* <li>map id == id</li>
|
||||||
|
* <li>map (f . g) == map f . map g</li>
|
||||||
|
* </ul>
|
||||||
|
*
|
||||||
|
* @param <T> the type of the Functor
|
||||||
*
|
*
|
||||||
* @author Tomasz Nurkiewicz (?@?.?)
|
* @author Tomasz Nurkiewicz (?@?.?)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue