**FnLong** is a *function hub class*
containing a lot of static methods to work with Long objects. Those static methods return functions that take
a **Long** object either as its input or output (depending on the function). It includes
conversions to String, to an String representing a currency and logical operations between Long objects among others.

Function name | Type | Params | Description |
---|---|---|---|

abs | Function<Long, Long> | It returns the absolute value of the input | |

add | Function<Long, Long> | Number add | It adds the given number to the target and returns the result |

add | Function<Long, Long> | byte add | It adds the given number to the target and returns the result |

add | Function<Long, Long> | short add | It adds the given number to the target and returns the result |

add | Function<Long, Long> | int add | It adds the given number to the target and returns the result |

add | Function<Long, Long> | long add | It adds the given number to the target and returns the result |

add | Function<Long, Long> | float add | It adds the given number to the target and returns the result |

add | Function<Long, Long> | double add | It adds the given number to the target and returns the result |

avg | Function<Iterable<Long>, Long> | It returns the average of all the numbers in the Iterable input object | |

avg | Function<Iterable<Long>, Long> | MathContext mathContext | It returns the average of all the numbers in the Iterable input object. The given MathContext will be used to round and set the output precision |

avg | Function<Iterable<Long>, Long> | RoundingMode roundingMode | It returns the average of all the numbers in the Iterable input object. The given RoundingMode will be used to round the output |

avgArray | Function<Long[], Long> | It returns the average of all the numbers in the input array | |

avgArray | Function<Long[], Long> | MathContext mathContext | It returns the average of all the numbers in the input array. The given MathContext will be used to round and set the output precision |

avgArray | Function<Long[], Long> | RoundingMode roundingMode | It returns the average of all the numbers in the input array. The given RoundingMode will be used to round the output |

between | Function<Long,Boolean> | Number min Number max | Determines whether the target object is between min and max in value, this is, whether |

between | Function<Long,Boolean> | long min long max | Determines whether the target object is between min and max in value, this is, whether |

divideBy | Function<Long, Long> | Number divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | byte divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | short divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | int divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | long divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | float divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | double divisor | It divides the target element by the given divisor and returns its result |

divideBy | Function<Long, Long> | Number divisor MathContext mathContext | It divides the target element by the given divisor and returns its result with the precision and rounding mode specified by mathContext |

divideBy | Function<Long, Long> | byte divisor MathContext mathContext | It divides the target element by the given divisor and returns its result with the precision and rounding mode specified by mathContext |

divideBy | Function<Long, Long> | short divisor MathContext mathContext | It divides the target element by the given divisor and returns its result with the precision and rounding mode specified by mathContext |

divideBy | Function<Long, Long> | int divisor MathContext mathContext | |

divideBy | Function<Long, Long> | long divisor MathContext mathContext | |

divideBy | Function<Long, Long> | float divisor MathContext mathContext | |

divideBy | Function<Long, Long> | double divisor MathContext mathContext | |

divideBy | Function<Long, Long> | Number divisor RoundingMode roundingMode | It divides the target element by the given divisor and returns its result rounded based on the specified rounding mode |

divideBy | Function<Long, Long> | byte divisor RoundingMode roundingMode | It divides the target element by the given divisor and returns its result rounded based on the specified rounding mode |

divideBy | Function<Long, Long> | short divisor RoundingMode roundingMode | It divides the target element by the given divisor and returns its result rounded based on the specified rounding mode |

divideBy | Function<Long, Long> | int divisor RoundingMode roundingMode | |

divideBy | Function<Long, Long> | long divisor RoundingMode roundingMode | |

divideBy | Function<Long, Long> | float divisor RoundingMode roundingMode | |

divideBy | Function<Long, Long> | double divisor RoundingMode roundingMode | |

eq | Function<Long,Boolean> | Long object | Determines whether the target object and the specified object are equal by calling the |

eq | Function<Long,Boolean> | long object | Determines whether the target object and the specified object are equal by calling the |

eqBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the |

eqValue | Function<Long,Boolean> | Number object | Determines whether the target object and the specified object are equal in value, this is, whether |

eqValue | Function<Long,Boolean> | long object | Determines whether the target object and the specified object are equal in value, this is, whether |

eqValueBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether |

greaterOrEqTo | Function<Long,Boolean> | Number object | Determines whether the target object is greater or equal to the specified object in value, this is, whether |

greaterOrEqTo | Function<Long,Boolean> | long object | Determines whether the target object is greater or equal to the specified object in value, this is, whether |

greaterOrEqToBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether |

greaterThan | Function<Long,Boolean> | Number object | Determines whether the target object is greater than the specified object in value, this is, whether |

greaterThan | Function<Long,Boolean> | long object | Determines whether the target object is greater than the specified object in value, this is, whether |

greaterThanBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether |

isNotNull | Function<Long,Boolean> | Determines whether the target object is null or not. | |

isNull | Function<Long,Boolean> | Determines whether the target object is null or not. | |

lessOrEqTo | Function<Long,Boolean> | Number object | Determines whether the target object is less or equal to the specified object in value, this is, whether |

lessOrEqTo | Function<Long,Boolean> | long object | Determines whether the target object is less or equal to the specified object in value, this is, whether |

lessOrEqToBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether |

lessThan | Function<Long,Boolean> | Number object | Determines whether the target object is less than the specified object in value, this is, whether |

lessThan | Function<Long,Boolean> | long object | Determines whether the target object is less than the specified object in value, this is, whether |

lessThanBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether |

max | Function<Iterable<Long>, Long> | It returns the maximum number from an Iterable input object | |

maxArray | Function<Long[], Long> | It returns the maximum number from the input array | |

min | Function<Iterable<Long>, Long> | It returns the minimum number from an Iterable input object | |

minArray | Function<Long[], Long> | It returns the minimum number from the input array | |

module | Function<Long, Long> | byte module | It performs a module operation and returns the value of (input mod module) which is always positive (whereas remainder is not) |

module | Function<Long, Long> | short module | It performs a module operation and returns the value of (input mod module) which is always positive (whereas remainder is not) |

module | Function<Long, Long> | int module | It performs a module operation and returns the value of (input mod module) which is always positive (whereas remainder is not) |

module | Function<Long, Long> | long module | |

module | Function<Long, Long> | Byte module | |

module | Function<Long, Long> | Short module | |

module | Function<Long, Long> | Integer module | |

module | Function<Long, Long> | Long module | |

module | Function<Long, Long> | BigInteger module | |

multiplyBy | Function<Long, Long> | Number multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | byte multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | short multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | int multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | long multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | float multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | double multiplicand | It multiplies target by multiplicand and returns its value |

multiplyBy | Function<Long, Long> | Number multiplicand MathContext mathContext | It multiplies target by multiplicand and returns its value. The result precision and RoundingMode is specified by the given MathContext |

multiplyBy | Function<Long, Long> | byte multiplicand MathContext mathContext | It multiplies target by multiplicand and returns its value. The result precision and RoundingMode is specified by the given MathContext |

multiplyBy | Function<Long, Long> | short multiplicand MathContext mathContext | It multiplies target by multiplicand and returns its value. The result precision and RoundingMode is specified by the given MathContext |

multiplyBy | Function<Long, Long> | int multiplicand MathContext mathContext | |

multiplyBy | Function<Long, Long> | long multiplicand MathContext mathContext | |

multiplyBy | Function<Long, Long> | float multiplicand MathContext mathContext | |

multiplyBy | Function<Long, Long> | double multiplicand MathContext mathContext | |

multiplyBy | Function<Long, Long> | Number multiplicand RoundingMode roundingMode | It multiplies target by multiplicand and returns its value. The result is rounded based on the given RoundingMode |

multiplyBy | Function<Long, Long> | byte multiplicand RoundingMode roundingMode | It multiplies target by multiplicand and returns its value. The result is rounded based on the given RoundingMode |

multiplyBy | Function<Long, Long> | short multiplicand RoundingMode roundingMode | It multiplies target by multiplicand and returns its value. The result is rounded based on the given RoundingMode |

multiplyBy | Function<Long, Long> | int multiplicand RoundingMode roundingMode | |

multiplyBy | Function<Long, Long> | long multiplicand RoundingMode roundingMode | |

multiplyBy | Function<Long, Long> | float multiplicand RoundingMode roundingMode | |

multiplyBy | Function<Long, Long> | double multiplicand RoundingMode roundingMode | |

notEq | Function<Long,Boolean> | Long object | Determines whether the target object and the specified object are NOT equal by calling the |

notEq | Function<Long,Boolean> | long object | Determines whether the target object and the specified object are NOT equal by calling the |

notEqBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the |

notEqValue | Function<Long,Boolean> | Number object | Determines whether the target object and the specified object are NOT equal in value, this is, whether |

notEqValue | Function<Long,Boolean> | long object | Determines whether the target object and the specified object are NOT equal in value, this is, whether |

notEqValueBy | Function<Long,Boolean> | IFunction<Long,?> by Object object | Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether |

pow | Function<Long, Long> | int power | It performs the operation target |

pow | Function<Long, Long> | int power MathContext mathContext | It performs the operation target |

pow | Function<Long, Long> | int power RoundingMode roundingMode | It performs the operation target |

remainder | Function<Long, Long> | Number divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

remainder | Function<Long, Long> | byte divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

remainder | Function<Long, Long> | short divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

remainder | Function<Long, Long> | int divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

remainder | Function<Long, Long> | long divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

remainder | Function<Long, Long> | float divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

remainder | Function<Long, Long> | double divisor | It divides the target element by the given divisor and returns the remainder (target % divisor) |

subtract | Function<Long, Long> | Number subtract | It subtracts the given number from the target and returns the result |

subtract | Function<Long, Long> | byte subtract | It subtracts the given number from the target and returns the result |

subtract | Function<Long, Long> | short subtract | It subtracts the given number from the target and returns the result |

subtract | Function<Long, Long> | int subtract | It subtracts the given number from the target and returns the result |

subtract | Function<Long, Long> | long subtract | It subtracts the given number from the target and returns the result |

subtract | Function<Long, Long> | float subtract | It subtracts the given number from the target and returns the result |

subtract | Function<Long, Long> | double subtract | It subtracts the given number from the target and returns the result |

sum | Function<Iterable<Long>, Long> | It returns the sum of all the numbers in the Iterable input object | |

sumArray | Function<Long[], Long> | It returns the sum of all the numbers in the input array | |

toCurrencyStr | Function<Long,String> | It returns the String representation of the target as a currency in the default Locale | |

toCurrencyStr | Function<Long,String> | boolean groupingUsed | It returns the String representation of the target as a currency in the default Locale |

toCurrencyStr | Function<Long,String> | Locale locale | It returns the String representation of the target as a currency in the given Locale |

toCurrencyStr | Function<Long,String> | String locale | It returns the String representation of the target as a currency in the given locale |

toCurrencyStr | Function<Long,String> | Locale locale boolean groupingUsed | It returns the String representation of the target as a currency in the given Locale |

toCurrencyStr | Function<Long,String> | String locale boolean groupingUsed | It returns the String representation of the target as a currency in the given locale |

toPercentStr | Function<Long,String> | A String representing a percentage is created from the target number. | |

toPercentStr | Function<Long,String> | boolean groupingUsed | A String representing a percentage is created from the target number either using grouping or not depending on the given parameter. So, toPercentStr(true) would return 100,000% if target number is 1000 toPercentStr(false) would return 100000% if target number is 1000 |

toPercentStr | Function<Long,String> | Locale locale | A String representing a percentage is created from the target number in the given Locale |

toPercentStr | Function<Long,String> | String locale | A String representing a percentage is created from the target number in the given locale |

toPercentStr | Function<Long,String> | Locale locale boolean groupingUsed | A String representing a percentage is created from the target number in the given Locale. Grouping will be used depending on the value of the groupingUsed parameter. |

toPercentStr | Function<Long,String> | String locale boolean groupingUsed | A String representing a percentage is created from the target number in the given locale. Grouping will be used depending on the value of the groupingUsed parameter. |

toStr | Function<Long,String> | It returns the String representation of the input number | |

toStr | Function<Long,String> | boolean groupingUsed | It returns the String representation of the input number either using or not using grouping |

toStr | Function<Long,String> | Locale locale | It returns the String representation of the target number in the given Locale |

toStr | Function<Long,String> | String locale | It returns the String representation of the target number in the given locale |

toStr | Function<Long,String> | Locale locale boolean groupingUsed | It returns the String representation of the target number in the given Locale. Grouping will be used depending on the value of the groupingUsed parameter |

toStr | Function<Long,String> | String locale boolean groupingUsed | It returns the String representation of the target number in the given locale. Grouping will be used depending on the value of the groupingUsed parameter |