Skip to content

Functional Idiom Extensions

Ciaran O'Reilly edited this page Jun 3, 2015 · 2 revisions

Functional Idiom Extensions

Originally, AIC-Util had its own Function and Predicate definitions. However, as these overlapped with Guava's functional idioms, it was decided to use these instead in order to improve interoperability between the libraries.

Extensions

In addition to Guava's Function and Predicate definitions, AIC-Util adds the following:

N-ary Versions

Of Functions and Predicates that take 0 or more than 1 argument:

Procedures

Binary and Ternary procedure definitions have also been declared. Similar to Functions in intended usage except that they do not return a value and can have side effects.