A C D E F G H I L M N O P Q R S T U Z

A

add - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.add(int,int) method.
add(int, int) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the + operator.
addParameter(Object) - Method in class info.javelot.functionalj.Function
Convenience method that calls Function.addParameters(Object[]), creating an array containing the specified parameter.
addParameters(Object[]) - Method in class info.javelot.functionalj.ComposedFunction
Returns a new ComposedFunction with the original f function, and a new g function on which the addParameters(Object[]) has been invoked.
addParameters(Object, Object) - Method in class info.javelot.functionalj.Function
Convenience method that calls Function.addParameters(Object[]), creating an array containing the specified parameters.
addParameters(Object, Object, Object) - Method in class info.javelot.functionalj.Function
Convenience method that calls Function.addParameters(Object[]), creating an array containing the specified parameters.
addParameters(Object, Object, Object, Object) - Method in class info.javelot.functionalj.Function
Convenience method that calls Function.addParameters(Object[]), creating an array containing the specified parameters.
addParameters(Object[]) - Method in class info.javelot.functionalj.Function
Creates a new function object that contains the previously added parameters, if any, and the given parameters appended to the list.
addParameters(List) - Method in class info.javelot.functionalj.Function
Creates a new function object that contains the previously added parameters, if any, and the given parameters appended to the list, by converting the list to an array and calling Function.addParameters(Object[]).
all(Function, List) - Static method in class info.javelot.functionalj.Functions
Determines if all of the elements of the list satisfy the condition represented by the given function.
all(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Determines if all of the elements of the array satisfy the condition represented by the given function, by converting the array to a list and calling Functions.all(Function,List).
and(List) - Static method in class info.javelot.functionalj.Functions
Returns the result of &&ing the Boolean values in the given list.
and(Boolean[]) - Static method in class info.javelot.functionalj.Functions
Returns the result of &&ing the Boolean values in the given array.
and(boolean[]) - Static method in class info.javelot.functionalj.Functions
Returns the result of &&ing the boolean values in the given array.
and - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.and(boolean,boolean) method.
and(boolean, boolean) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the && operator.
any(Function, List) - Static method in class info.javelot.functionalj.Functions
Determines whether any of the elements of the list satisfy the condition represented by the given function.
any(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Determines whether any of the elements of the array satisfy the condition represented by the given function, by converting the array to a list and calling Functions.any(Function,List).
asList(Object[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List from an array of Objects, returning an empty List if the array is null.
asList(boolean[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Booleans from an array of booleans.
asList(byte[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Bytes from an array of bytes.
asList(char[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Characters from an array of chars.
asList(double[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Doubles from an array of doubles.
asList(float[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Floats from an array of floats.
asList(int[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Integers from an array of ints.
asList(long[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Longs from an array of longs.
asList(short[]) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Shorts from an array of shorts.
asList(String) - Static method in class info.javelot.functionalj.util.Lists
Returns a List of Characters from a String.

C

ComposedFunction - class info.javelot.functionalj.ComposedFunction.
Combines two functions where the result of one function is used as a parameter to the other function.
ComposedFunction(Function, Function) - Constructor for class info.javelot.functionalj.ComposedFunction
Constructs a composed function with two functions, such that, given functions f and g, the resulting function is f o g, where 'o' is the composing operator as used in mathematics.
ComposedFunction(Function, Function, Function) - Constructor for class info.javelot.functionalj.ComposedFunction
Constructs a composed function with two functions, such that, given functions f, g and h, the resulting function is f o g o h, where 'o' is the composing operator as used in mathematics.
ConstructorFunction - class info.javelot.functionalj.ConstructorFunction.
Represents a function that targets a constructor.
ConstructorFunction(Class) - Constructor for class info.javelot.functionalj.ConstructorFunction
Creates a function that targets the constructors of the given class.
ConstructorFunction(Class, Object[]) - Constructor for class info.javelot.functionalj.ConstructorFunction
Creates a function that targets the constructors of the given class which accept the supplied parameters.
call() - Method in class info.javelot.functionalj.ComposedFunction
Invokes call() on the g function, supplies the result to the f function using objectOrParameter(Object), invokes call() on the resulting function, and returns the result.
call() - Method in class info.javelot.functionalj.Function
Calls the function by invoking the target using the parameters that have been previously supplied (if any) and returns the result.
call() - Method in class info.javelot.functionalj.FunctionN
Calls the function by invoking the target using the parameters that have been previously supplied (if any) and returns the result.
call(Object[]) - Method in interface info.javelot.functionalj.IFunctionN
Invoked automatically when the Function.call() method is invoked on the FunctionN object that wraps this instance of IFunctionN.
call() - Method in class info.javelot.functionalj.ReflectionFunction
Calls the function by invoking the target using the parameters that have been previously supplied (if any) and returns the result.
composedFunction(Function, Function) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for ComposedFunction, calls ComposedFunction.ComposedFunction(Function,Function).
composedFunction(Function, Function, Function) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for ComposedFunction, calls ComposedFunction.ComposedFunction(Function,Function,Function).
concat(List) - Static method in class info.javelot.functionalj.Functions
Concatenates the string representations of a list of objects to return a single string.
concat(Object[]) - Static method in class info.javelot.functionalj.Functions
Concatenates an array of strings by first converting the array to a list, then calling Functions.concat(List).
concat - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.concat(String,String) method.
concat(String, String) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the + operator as it pertains to concatenating two Strings.
constructorFunction(Class) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for ConstructorFunction, calls ConstructorFunction.ConstructorFunction(Class).
constructorFunction(Class, Object[]) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for ConstructorFunction, calls ConstructorFunction.ConstructorFunction(Class,Object[]).

D

disallowNull(Object, String) - Static method in class info.javelot.functionalj.util.Utils
Verifies if the parameter is null, and throws an exception if it is.
divide - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.divide(int,int) method.
divide(int, int) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the / operator.

E

equals(Object) - Method in class info.javelot.functionalj.tuple.Pair
Determines if the given object is equal to this object, by comparing the two objects of each tuple using their respective equals(Object) methods.
equals(Object) - Method in class info.javelot.functionalj.tuple.Quadruple
Determines if the given object is equal to this object, by comparing the four objects of each quadruple.
equals(Object) - Method in class info.javelot.functionalj.tuple.Triple
Determines if the given object is equal to this object, by comparing the three objects of each triple.

F

Function - class info.javelot.functionalj.Function.
Base class for working with functions, which target constructors, static methods and instance methods.
Function() - Constructor for class info.javelot.functionalj.Function
Default constructor.
Function(Class, String, Object, Object[]) - Constructor for class info.javelot.functionalj.Function
Constructor which accepts the target class, function name, target object, and parameters of the function.
FunctionException - exception info.javelot.functionalj.FunctionException.
Used to signal exceptions that occur in the use of the FunctionalJ package.
FunctionException() - Constructor for class info.javelot.functionalj.FunctionException
Same constructor as parent class.
FunctionException(String) - Constructor for class info.javelot.functionalj.FunctionException
Same constructor as parent class.
FunctionException(String, Throwable) - Constructor for class info.javelot.functionalj.FunctionException
Same constructor as parent class.
FunctionException(Throwable) - Constructor for class info.javelot.functionalj.FunctionException
Same constructor as parent class.
FunctionFactory - class info.javelot.functionalj.FunctionFactory.
Contains static factory methods to create Function objects, which is an alternative some prefer to using constructors and the new keyword.
FunctionFactory() - Constructor for class info.javelot.functionalj.FunctionFactory
 
FunctionN - class info.javelot.functionalj.FunctionN.
Represents a function of N parameters, which is constructed by specifying an implementation of the IFunctionN interface.
FunctionN(IFunctionN) - Constructor for class info.javelot.functionalj.FunctionN
Creates a function of N parameters which uses the specified implementation of the function interface.
FunctionN(IFunctionN, Object[]) - Constructor for class info.javelot.functionalj.FunctionN
Creates a function of N parameters which uses the specified implementation of the function interface and the given parameters.
Functions - class info.javelot.functionalj.Functions.
The Functions class contains static methods that use functions to perform various computations, which makes it possible to use functional programming patterns.
filter(Function, List) - Static method in class info.javelot.functionalj.Functions
Filters a list to return only those elements for which the given function returns true.
filter(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Filters an array to return only those elements for which the given function returns true.
filterNot(Function, List) - Static method in class info.javelot.functionalj.Functions
Filters a list to return only those elements for which the given function returns false.
filterNot(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Filters a list to return only those elements for which the given function returns false.
foldl(Function, Object, List) - Static method in class info.javelot.functionalj.Functions
Folds a list from the left using the given function and starting parameter.
foldl(Function, Object, Object[]) - Static method in class info.javelot.functionalj.Functions
Folds an array from the left using the given function and starting parameter, first converting the array to a list and then calling Functions.foldl(Function,Object,List).
foldl1(Function, List) - Static method in class info.javelot.functionalj.Functions
Folds a list from the left using the given function.
foldl1(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Folds an array from the left using the given function, first converting the array to a list and then calling Functions.foldl1(Function,List).
foldr(Function, Object, List) - Static method in class info.javelot.functionalj.Functions
Folds a list from the right using the given function and starting parameter.
foldr(Function, Object, Object[]) - Static method in class info.javelot.functionalj.Functions
Folds an array from the right using the given function and starting parameter, first converting the array to a list and then calling Functions.foldr(Function,Object,List).
foldr1(Function, List) - Static method in class info.javelot.functionalj.Functions
Folds a list from the right using the given function.
foldr1(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Folds an array from the right using the given function, first converting the array to a list and then calling Functions.foldr1(Function,List).
functionN(IFunctionN) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for FunctionN, calls FunctionN.FunctionN(IFunctionN).
functionN(IFunctionN, Object[]) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for FunctionN, calls FunctionN.FunctionN(IFunctionN,Object[]).

G

getAllTargets(Class) - Method in class info.javelot.functionalj.ConstructorFunction
Returns the constructors of the target class.
getAllTargets(Class) - Method in class info.javelot.functionalj.MethodFunction
Returns the methods of the target class and its superclasses.
getAllTargets(Class) - Method in class info.javelot.functionalj.ReflectionFunction
Method for subclasses to specify the targets of the class, which are constructors or methods.
getFirst() - Method in class info.javelot.functionalj.tuple.Pair
Returns the first object of the tuple.
getFourth() - Method in class info.javelot.functionalj.tuple.Quadruple
Returns the fourth object of the tuple.
getInsertIndex(Object) - Method in class info.javelot.functionalj.ConstructorFunction
Since constructors have no particular priority over one another, this method always returns 0 as the index at with to insert the target.
getInsertIndex(Object) - Method in class info.javelot.functionalj.MethodFunction
Determines if the given method's name matches the target name, and returns the index at which to insert the method accordingly.
getInsertIndex(Object) - Method in class info.javelot.functionalj.ReflectionFunction
Method for subclasses to specify the index at which to insert the target into the list of possible targets, according to priority.
getName() - Method in class info.javelot.functionalj.Function
Returns the name of the target of this function.
getObject() - Method in class info.javelot.functionalj.Function
Returns the object on which to invoke the target of this function.
getParameterClass() - Method in class info.javelot.functionalj.Parameter
Returns the class of the parameter.
getParameterTypes(Object) - Method in class info.javelot.functionalj.ConstructorFunction
Returns the types of the parameters accepted by the constructor.
getParameterTypes(Object) - Method in class info.javelot.functionalj.MethodFunction
Returns the types of the parameters accepted by the method.
getParameterTypes(Object) - Method in class info.javelot.functionalj.ReflectionFunction
Method for subclasses to specify the parameter types of the target, which can be a constructor or a method.
getParameters() - Method in class info.javelot.functionalj.Function
Returns the list of parameters that have been supplied, if any.
getSecond() - Method in class info.javelot.functionalj.tuple.Pair
Returns the second object of the tuple.
getStrings() - Method in class info.javelot.functionalj.tuple.Pair
Returns a list of the String representations of the objects of the tuple.
getStrings() - Method in class info.javelot.functionalj.tuple.Quadruple
Returns a list of the String representations of the objects of the tuple.
getStrings() - Method in class info.javelot.functionalj.tuple.Triple
Returns a list of the String representations of the objects of the tuple.
getTargetClass() - Method in class info.javelot.functionalj.Function
Returns the class of the target of this function.
getTargets() - Method in class info.javelot.functionalj.Function
Returns the list of possible targets of this function.
getThird() - Method in class info.javelot.functionalj.tuple.Triple
Returns the third object of the tuple.
getValue() - Method in class info.javelot.functionalj.Parameter
Returns the value of the parameter.

H

hashCode() - Method in class info.javelot.functionalj.tuple.Pair
Returns the hash code associated with this object.
hashCode() - Method in class info.javelot.functionalj.tuple.Quadruple
Returns the hash code associated with this object.
hashCode() - Method in class info.javelot.functionalj.tuple.Triple
Returns the hash code associated with this object.
head(List) - Static method in class info.javelot.functionalj.util.Lists
Returns the head (first) element of a list.

I

IFunctionN - interface info.javelot.functionalj.IFunctionN.
Interface to be implemented to define a function that accepts N parameters in the form of an array of Objects and that returns an Object as a result.
InstanceFunction - class info.javelot.functionalj.InstanceFunction.
Represents a function that targets an instance method.
InstanceFunction(Class, String) - Constructor for class info.javelot.functionalj.InstanceFunction
Creates a function that targets the instance methods of the given class which match the given name.
InstanceFunction(Class, String, Object) - Constructor for class info.javelot.functionalj.InstanceFunction
Creates a function that targets the instance methods of the given class which match the given name, to be invoked on the given object.
InstanceFunction(Class, String, Object[]) - Constructor for class info.javelot.functionalj.InstanceFunction
Creates a function that targets the instance methods of the given class which match the given name, with the given parameters.
InstanceFunction(Class, String, Object, Object[]) - Constructor for class info.javelot.functionalj.InstanceFunction
Creates a function that targets the instance methods of the given class which match the given name, to be invoked on the given object, with the supplied parameters; this is the constructor that is ultimately called by all other constructors.
InstanceFunction(Object, String) - Constructor for class info.javelot.functionalj.InstanceFunction
Convenience constructor that accepts the given object on which to invoke the method of the specified name, determining the target class from the target object and using the InstanceFunction.InstanceFunction(Class,String,Object) constructor.
InstanceFunction(Object, String, Object[]) - Constructor for class info.javelot.functionalj.InstanceFunction
Convenience constructor that accepts the given object on which to invoke the method of the specified name, with the supplied parameters, determining the target class from the target object and using the InstanceFunction.InstanceFunction(Class,String,Object,Object[]) constructor.
info.javelot.functionalj - package info.javelot.functionalj
 
info.javelot.functionalj.tuple - package info.javelot.functionalj.tuple
 
info.javelot.functionalj.util - package info.javelot.functionalj.util
 
init(List) - Static method in class info.javelot.functionalj.util.Lists
Returns the initial of a list, that is, all elements except the last.
instanceFunction(Class, String) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for InstanceFunction, calls InstanceFunction.InstanceFunction(Class,String).
instanceFunction(Class, String, Object) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for InstanceFunction, calls InstanceFunction.InstanceFunction(Class,String,Object).
instanceFunction(Class, String, Object[]) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for InstanceFunction, calls InstanceFunction.InstanceFunction(Class,String,Object[]).
instanceFunction(Class, String, Object, Object[]) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for InstanceFunction, calls InstanceFunction.InstanceFunction(Class,String,Object,Object[]).
instanceFunction(Object, String) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for InstanceFunction, calls InstanceFunction.InstanceFunction(Object,String).
instanceFunction(Object, String, Object[]) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for InstanceFunction, calls InstanceFunction.InstanceFunction(Object,String,Object[]).
intersperse(Object, List) - Static method in class info.javelot.functionalj.Functions
Intersperses the specified object into the given list, such that the object is inserted between each pair of elements of the list.
intersperse(Object, Object[]) - Static method in class info.javelot.functionalj.Functions
Intersperses the specified object into the given array, such that the object is inserted between each pair of elements of the array.
invoke(Object, Object, Object[]) - Method in class info.javelot.functionalj.ConstructorFunction
Invokes the Constructor.newInstance(Object[]) method using the supplied parameters.
invoke(Object, Object, Object[]) - Method in class info.javelot.functionalj.MethodFunction
Invokes the Method.invoke(Object,Object[]) method using the supplied object, which may be null in the case of a static method, and the supplied parameters.
invoke(Object, Object, Object[]) - Method in class info.javelot.functionalj.ReflectionFunction
Method to indicate to subclasses to invoke the given target, on the given object (if applicable), and with the given parameters.
isObjectPresent() - Method in class info.javelot.functionalj.ComposedFunction
Returns the value of g.isObjectPresent().
isObjectPresent() - Method in class info.javelot.functionalj.Function
Indicates if an object has been supplied to the function.
isObjectRequired() - Method in class info.javelot.functionalj.ComposedFunction
Returns the value of g.isObjectRequired().
isObjectRequired() - Method in class info.javelot.functionalj.ConstructorFunction
Returns false since no object is required to invoke a constructor.
isObjectRequired() - Method in class info.javelot.functionalj.Function
Indicates whether or not an object is required to invoke the target.
isObjectRequired() - Method in class info.javelot.functionalj.FunctionN
Returns false since an object is not required to invoke the method.
isObjectRequired() - Method in class info.javelot.functionalj.InstanceFunction
Returns true since an object is required to invoke the method.
isObjectRequired() - Method in class info.javelot.functionalj.StaticFunction
Returns false since an object is not required to invoke the method.
iterator(List) - Static method in class info.javelot.functionalj.util.Lists
Returns the Iterator for the specified list, or an empty iterator if the list is null, to avoid NullPointerExceptions.

L

Lists - class info.javelot.functionalj.util.Lists.
Methods concerning Lists.
last(List) - Static method in class info.javelot.functionalj.util.Lists
Returns the last element of a list.

M

MethodFunction - class info.javelot.functionalj.MethodFunction.
Represents a function that targets a method by name, either a static method (StaticFunction) or an instance method (InstanceFunction).
MethodFunction() - Constructor for class info.javelot.functionalj.MethodFunction
Default constructor which is only used by ComposedFunction.
MethodFunction(Class, String) - Constructor for class info.javelot.functionalj.MethodFunction
Creates a function that targets the methods of the given class which match the given name.
MethodFunction(Class, String, Object[]) - Constructor for class info.javelot.functionalj.MethodFunction
Creates a function that targets the methods of the given class which match the given name and parameters.
MethodFunction(Class, String, Object, Object[]) - Constructor for class info.javelot.functionalj.MethodFunction
Creates a function that targets the methods of the given class which match the given name and parameters, to be invoked on the given object.
m_class - Variable in class info.javelot.functionalj.Function
The class of the target of this function.
m_name - Variable in class info.javelot.functionalj.Function
The name of the target, if applicable.
m_object - Variable in class info.javelot.functionalj.Function
The object on which to invoke the target, if applicable.
m_parameters - Variable in class info.javelot.functionalj.Function
The list of supplied parameters.
m_targets - Variable in class info.javelot.functionalj.Function
The list of possible targets.
map(Function, List) - Static method in class info.javelot.functionalj.Functions
Maps a function to a list of parameters, by applying in turn each element of the list as a parameter to the function and calling it, and returns a list of the results.
map(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Maps a function to an array of parameters, first converting the array to a List and then calling Functions.map(Function,List).
multiply - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.multiply(int,int) method.
multiply(int, int) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the * operator.

N

NullParameter - class info.javelot.functionalj.NullParameter.
Used to indicate that a null value should be used for a parameter of a specific class, in order to remove the ambiguity caused by using simple null values when a method is overloaded with different parameter classes.
NullParameter(Class) - Constructor for class info.javelot.functionalj.NullParameter
Constructs an object which indicates to use a null value for a parameter of the specified class.
newInstance(Class, Object[]) - Method in class info.javelot.functionalj.ComposedFunction
Returns a new ComposedFunction object with the same f function and the value of g.newInstance(Class,Object[]), using g's target class.
newInstance(Class, Object[]) - Method in class info.javelot.functionalj.ConstructorFunction
Creates a new ConstructorFunction object using the specified target class and parameters.
newInstance(Class, Object[]) - Method in class info.javelot.functionalj.Function
Used to ask subclasses to create an appropriate new instance.
newInstance(Class, Object[]) - Method in class info.javelot.functionalj.FunctionN
Creates a new FunctionN object using the specified parameters.
newInstance(Class, Object[]) - Method in class info.javelot.functionalj.InstanceFunction
Creates a new InstanceFunction object using the specified target class and parameters, and using the object on which to invoke the target, if one was previously supplied.
newInstance(Class, Object[]) - Method in class info.javelot.functionalj.StaticFunction
Creates a new StaticFunction object using the specified target class and parameters.
not - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.not(boolean) method.
not(boolean) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the boolean 'not' operator.

O

Operators - class info.javelot.functionalj.util.Operators.
Contains method definitions for operators along with their corresponding functions.
object(Object) - Method in class info.javelot.functionalj.ComposedFunction
Returns a new ComposedFunction with the original f function, and a new g function on which the object(Object) has been invoked.
object(Object) - Method in class info.javelot.functionalj.ConstructorFunction
Throws a FunctionException, since no object is required to invoke a constructor.
object(Object) - Method in class info.javelot.functionalj.Function
Supplies the object to use for instance methods.
object(Object) - Method in class info.javelot.functionalj.FunctionN
Throws a FunctionException, since no object is required to invoke a method that is wrapped using an interface.
object(Object) - Method in class info.javelot.functionalj.InstanceFunction
Supplies the object on which to invoke the method, and returns a new InstanceFunction which includes this object.
object(Object) - Method in class info.javelot.functionalj.StaticFunction
Throws a FunctionException, since no object is required to invoke a static method.
objectOrParameter(Object) - Method in class info.javelot.functionalj.Function
Accepts the specified object and uses it as the object on which to invoke the target, if one is required and has not yet been specified; otherwise, the object is used as a parameter supplied to the function.
or(List) - Static method in class info.javelot.functionalj.Functions
Returns the result of ||ing the Boolean values in the given list.
or(Boolean[]) - Static method in class info.javelot.functionalj.Functions
Returns the result of ||ing the Boolean values in the given array.
or(boolean[]) - Static method in class info.javelot.functionalj.Functions
Returns the result of ||ing the boolean values in the given array.
or - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.or(boolean,boolean) method.
or(boolean, boolean) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the || operator.

P

Pair - class info.javelot.functionalj.tuple.Pair.
Used to create a tuple of two objects.
Pair(Object, Object) - Constructor for class info.javelot.functionalj.tuple.Pair
Creates a tuple of the two given objects.
Parameter - class info.javelot.functionalj.Parameter.
Abstract parent class used to indicate a special parameter, for example a null parameter (NullParameter) or a parameter of a primitive type (PrimitiveParameter).
Parameter(Class, Object) - Constructor for class info.javelot.functionalj.Parameter
Constructs an object which indicates to use a specific class for a parameter value.
PrimitiveParameter - class info.javelot.functionalj.PrimitiveParameter.
Used when a method is overloaded to accept a parameter of that primitive type and its wrapper class in the same parameter position.
PrimitiveParameter(boolean) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive boolean value for a parameter of the specified class.
PrimitiveParameter(byte) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive byte value for a parameter of the specified class.
PrimitiveParameter(char) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive char value for a parameter of the specified class.
PrimitiveParameter(double) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive double value for a parameter of the specified class.
PrimitiveParameter(float) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive float value for a parameter of the specified class.
PrimitiveParameter(int) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive int value for a parameter of the specified class.
PrimitiveParameter(long) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive long value for a parameter of the specified class.
PrimitiveParameter(short) - Constructor for class info.javelot.functionalj.PrimitiveParameter
Constructs an object which indicates to use a primitive short value for a parameter of the specified class.

Q

Quadruple - class info.javelot.functionalj.tuple.Quadruple.
Used to create a tuple of four objects.
Quadruple(Object, Object, Object, Object) - Constructor for class info.javelot.functionalj.tuple.Quadruple
Creates a tuple of the four given objects.

R

ReflectionFunction - class info.javelot.functionalj.ReflectionFunction.
Represents a function that uses reflection.
ReflectionFunction() - Constructor for class info.javelot.functionalj.ReflectionFunction
Default constructor.
ReflectionFunction(Class) - Constructor for class info.javelot.functionalj.ReflectionFunction
Constructor used by ConstructorFunction, since no name is required.
ReflectionFunction(Class, Object[]) - Constructor for class info.javelot.functionalj.ReflectionFunction
Constructor used by ConstructorFunction, since no name is required.
ReflectionFunction(Class, String) - Constructor for class info.javelot.functionalj.ReflectionFunction
Constructor used by MethodFunction, since a name is required.
ReflectionFunction(Class, String, Object[]) - Constructor for class info.javelot.functionalj.ReflectionFunction
Constructor used by MethodFunction, since a name is required.
ReflectionFunction(Class, String, Object, Object[]) - Constructor for class info.javelot.functionalj.ReflectionFunction
Creates a function that uses reflection to target the method of the name and class, to be invoked on the given object (if applicable), with the specified parameters.

S

StaticFunction - class info.javelot.functionalj.StaticFunction.
Represents a function that targets a static method.
StaticFunction(Class, String) - Constructor for class info.javelot.functionalj.StaticFunction
Creates a function that targets the static methods of the given class which match the given name.
StaticFunction(Class, String, Object[]) - Constructor for class info.javelot.functionalj.StaticFunction
Creates a function that targets the static methods of the given class which match the given name, with the supplied parameters.
safeEquals(Object, Object) - Static method in class info.javelot.functionalj.util.Utils
Verifies if two objects are equal, by considering two null values to be equal, a null and non-null value not to be equal, and by using the equals() method to compare two non-null values.
scanl(Function, Object, List) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the left.
scanl(Function, Object, Object[]) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the left, first converting the array to a list and then calling Functions.scanl(Function,Object,List).
scanl1(Function, List) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the left, using the first element of the list as a starting parameter.
scanl1(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the left, first converting the array to a list and then calling Functions.scanl1(Function,List).
scanr(Function, Object, List) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the right.
scanr(Function, Object, Object[]) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the right, first converting the array to a list and then calling Functions.scanr(Function,Object,List).
scanr1(Function, List) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the right, using the first element of the list as a starting parameter.
scanr1(Function, Object[]) - Static method in class info.javelot.functionalj.Functions
Scans a list to return successive reduced values from the right, first converting the array to a list and then calling Functions.scanr1(Function,List).
sizeOf(List) - Static method in class info.javelot.functionalj.util.Lists
Returns the size of a list, returning zero if the list is null.
sizeOf(Object[]) - Static method in class info.javelot.functionalj.util.Lists
Returns the size of a array, returning zero if the array is null.
sizeOf(String) - Static method in class info.javelot.functionalj.util.Lists
Returns the size of a string, returning zero if the string is null.
staticFunction(Class, String) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for StaticFunction, calls StaticFunction.StaticFunction(Class,String).
staticFunction(Class, String, Object[]) - Static method in class info.javelot.functionalj.FunctionFactory
Factory method for StaticFunction, calls StaticFunction.StaticFunction(Class,String,Object[]).
subtract - Static variable in class info.javelot.functionalj.util.Operators
Function that corresponds to the Operators.subtract(int,int) method.
subtract(int, int) - Static method in class info.javelot.functionalj.util.Operators
Method that corresponds to the - operator.
sum(List) - Static method in class info.javelot.functionalj.Functions
Given a List of Numbers, returns the sum of their int values.

T

Triple - class info.javelot.functionalj.tuple.Triple.
Used to create a tuple of three objects.
Triple(Object, Object, Object) - Constructor for class info.javelot.functionalj.tuple.Triple
Creates a tuple of the three given objects.
Tuples - class info.javelot.functionalj.tuple.Tuples.
Contains static methods to operate on tuples.
tail(List) - Static method in class info.javelot.functionalj.util.Lists
Returns the tail of a list, that is, all elements except the first.
toIntArray(List) - Static method in class info.javelot.functionalj.util.Lists
Returns an array of ints from a List of Integers.
toString() - Method in class info.javelot.functionalj.ComposedFunction
Returns a String representation of the Function objects of which this function is composed.
toString() - Method in class info.javelot.functionalj.Function
Returns a String representation of this Function object.
toString() - Method in class info.javelot.functionalj.NullParameter
Returns a String representation of the object.
toString() - Method in class info.javelot.functionalj.PrimitiveParameter
Returns a String representation of the object.
toString() - Method in class info.javelot.functionalj.tuple.Pair
Returns a String representation of the Pair.
toString(Object[]) - Static method in class info.javelot.functionalj.util.Utils
Returns a String representation of an array of objects.

U

Utils - class info.javelot.functionalj.util.Utils.
Contains general utility methods.
unzipPairs(List) - Static method in class info.javelot.functionalj.tuple.Tuples
Unzips a list of Pairs into a Pair of lists, with the first list containing all of the first elements of the pairs, and the second list containing all of the second elements of the pairs.
unzipPairs(Pair[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Unzips an array of Pairs into a Pair of lists, similarily to the Tuples.unzipPairs(List) method.
unzipQuadruples(List) - Static method in class info.javelot.functionalj.tuple.Tuples
Unzips a list of Quadruples into a Quadruple of lists, similarily to the Tuples.unzipPairs(List) method.
unzipQuadruples(Quadruple[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Unzips an array of Quadruples into a Quadruple of lists, similarily to the Tuples.unzipPairs(List) method.
unzipTriples(List) - Static method in class info.javelot.functionalj.tuple.Tuples
Unzips a list of Triples into a Triple of lists, similarily to the Tuples.unzipPairs(List) method.
unzipTriples(Triple[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Unzips an array of Triples into a Triple of lists, similarily to the Tuples.unzipPairs(List) method.

Z

zip(List, List) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the two lists to return a list of Pairs.
zip(List, List, List) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the three lists to return a list of Triples, similarily to the Tuples.zip(List,List) method.
zip(List, List, List, List) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the four lists to return a list of Quadruples, similarily to the Tuples.zip(List,List) method.
zip(Object[], Object[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the two arrays to return a list of Pairs, similarily to the Tuples.zip(List,List) method.
zip(Object[], Object[], Object[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the three arrays to return a list of Triples, similarily to the Tuples.zip(List,List) method.
zip(Object[], Object[], Object[], Object[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the four arrays to return a list of Quadruples, similarily to the Tuples.zip(List,List) method.
zipWith(Function, List, List) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the two lists to return a list of objects returned by the specified function.
zipWith(Function, Object[], Object[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the two arrays to return a list of objects returned by the specified function.
zipWith(Function, List, List, List) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the three lists to return a list of objects returned by the specified function.
zipWith(Function, Object[], Object[], Object[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the three arrays to return a list of objects returned by the specified function.
zipWith(Function, List, List, List, List) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the four lists to return a list of objects returned by the specified function.
zipWith(Function, Object[], Object[], Object[], Object[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the four arrays to return a list of objects returned by the specified function.
zipWith(Function, List[]) - Static method in class info.javelot.functionalj.tuple.Tuples
Zips objects from the lists to return a list of objects returned by the specified function.

A C D E F G H I L M N O P Q R S T U Z