A DESCRIPTION OF THE PROBLEM :
In the functional interface documentation (https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html) link, while explaining function types it is mentioned as " Supplier (nilary function to R)". While i googled, there is nothing as "nilary function"; instead it should be "nullary function", means "function takes no arguments".
If you consider this is a documentation error, please correct it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"nilary function" should be represented as "nullary function", which means "function takes no arguements".
ACTUAL -
it is mentioned as nilary function
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
In the functional interface documentation (https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html) link, while explaining function types it is mentioned as " Supplier (nilary function to R)". While i googled, there is nothing as "nilary function"; instead it should be "nullary function", means "function takes no arguments".
If you consider this is a documentation error, please correct it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"nilary function" should be represented as "nullary function", which means "function takes no arguements".
ACTUAL -
it is mentioned as nilary function
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html