Class Bounded<A>

java.lang.Object
fj.Bounded<A>

public final class Bounded<A> extends Object
The Bounded class is used to name the upper and lower limits of a type. Ord is not a superclass of Bounded since types that are not totally ordered may also have upper and lower bounds.
  • Method Details

    • min

      public A min()
    • max

      public A max()
    • boundedDef

      public static <A> Bounded<A> boundedDef(Bounded.Definition<A> def)
    • bounded

      public static <A> Bounded<A> bounded(A min, A max)