Skip to content

Commit b602a2c

Browse files
committed
add docs for bounded
1 parent 0083c80 commit b602a2c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

core/src/main/java/fj/Bounded.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
package fj;
22

3+
/**
4+
* The Bounded class is used to name the upper and lower limits of a type.
5+
* Ord is not a superclass of Bounded since types that are not totally ordered may also have upper and lower bounds.
6+
*/
37
public class Bounded<A> {
48

59
private final Definition<A> def;
610

11+
/**
12+
* Minimal definition of Bounded
13+
*/
714
public interface Definition<A> {
815
A min();
916

0 commit comments

Comments
 (0)