Uses of Class
fj.Ordering
-
Packages that use Ordering Package Description fj Types that set the premise for the existence of Functional Java.fj.data Common algebraic data types. -
-
Uses of Ordering in fj
Fields in fj with type parameters of type Ordering Modifier and Type Field Description static Ord<Ordering>Ord. orderingOrdAn order instance for theOrderingtype.Methods in fj that return Ordering Modifier and Type Method Description OrderingOrd.AltDefinition. compare(A a1, A a2)OrderingOrd. compare(A a1, A a2)Returns an ordering for the given arguments.default OrderingOrd.Definition. compare(A a1, A a2)static OrderingOrdering. fromInt(int cmp)OrderingOrdering. reverse()static OrderingOrdering. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Ordering[]Ordering. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in fj that return types with arguments of type Ordering Modifier and Type Method Description default F<A,Ordering>Ord.AltDefinition. compare(A a1)F<A,F<A,Ordering>>Ord. compare()First-class ordering.F<A,Ordering>Ord.Definition. compare(A a)Method parameters in fj with type arguments of type Ordering Modifier and Type Method Description static <A> Ord<A>Ord. ord(F<A,F<A,Ordering>> f)Returns an order instance that uses the given equality test and ordering function.static <A> Ord<A>Ord. ord(F2<A,A,Ordering> f)Returns an order instance that uses the given equality test and ordering function. -
Uses of Ordering in fj.data
Fields in fj.data with type parameters of type Ordering Modifier and Type Field Description static Enumerator<Ordering>Enumerator. orderingEnumeratorAn enumerator forOrdering.Method parameters in fj.data with type arguments of type Ordering Modifier and Type Method Description List<A>List. insertBy(F<A,F<A,Ordering>> f, A x)Inserts the given element before the first element that is greater than or equal to it according to the given ordering.
-