Top Description Interfaces Classes
[default module]

Package org.jparsec.functors


Provides common functor interfaces, such as Map for mapping parser results as well as some common implementations.

Package Specification

The code is developed and tested under Java 5.0.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please check out CodeHaus

Interface Summary

Modifier and TypeInterface and Description
public interface
Binary<T>

Deprecated Use java.util.function.BinaryOperator instead.
Represents a binary operation on the same type T.
public interface
Map<From, To>

Deprecated Use java.util.function.Function instead.
Maps object of type From to an object of type To.
public interface
Map2<A, B, T>

Deprecated Use java.util.function.BiFunction instead.
Maps two objects of type A and B respectively to an object of type T.
public interface
Map3<A, B, C, T>

Maps 3 objects of type A, B and C respectively to an object of type T.

public interface
Map4<A, B, C, D, T>

Maps 4 objects of type A, B, C and D respectively to an object of type T.

public interface
Map5<A, B, C, D, E, T>

Maps 5 objects of type A, B, C, D and E respectively to an object of type T.

public interface
Map6<A, B, C, D, E, F, T>

Maps 6 objects to an object of type T.

public interface
Map7<A, B, C, D, E, F, G, T>

Maps 7 objects to an object of type T.

public interface
Map8<A, B, C, D, E, F, G, H, T>

Maps 8 objects to an object of type T.

public interface
Unary<T>

Deprecated Use java.util.function.UnaryOperator instead.
Represents a unary operation on the same type T.

Class Summary

Modifier and TypeClass and Description
public class
Maps

Provides common implementations of Map interface and the variants.

public class
Pair<A, B>

Deprecated Prefer to using a lambda expression to convert to your own type.
Immutable data holder for 2 values.
public class
Tuple3<A, B, C>

Deprecated Prefer to using a lambda expression to convert to your own type.
Immutable data holder for 3 values.
public class
Tuple4<A, B, C, D>

Deprecated Prefer to using a lambda expression to convert to your own type.
Immutable data holder for 4 values.
public class
Tuple5<A, B, C, D, E>

Deprecated Prefer to using a lambda expression to convert to your own type.
Immutable data holder for 5 values.
public class
Tuples

Deprecated Prefer to using a lambda expression to convert to your own type.
Creates Pair and tuple instances.