Gary Gregory
fb184a7650
Clean up imports.
2020-06-24 10:43:04 -04:00
Gary Gregory
c56c77ed95
Remove methods that will be new in 3.11 but which are now in the
...
function package.
2020-06-24 10:41:19 -04:00
Gary Gregory
8fcefb4f98
Centralize stream code in our own 'stream' package as
...
a parallel to the JRE's java.util.stream package.
- Re-implement use of failable function interfaces based on our function
package.
- Deprecate old class.
- Remove trainling whitespace.
2020-06-17 17:37:14 -04:00
Gary Gregory
e22a5ea87a
Javadoc.
2020-06-17 17:13:40 -04:00
Gary Gregory
7ba418fc6f
Centralize failable functional interfaces in our 'function' package as
...
the parallel to the JRE's java.util.function package.
Deprecate old class.
2020-06-17 16:46:10 -04:00
Gary Gregory
8b54728564
Create the new package org.apache.commons.function to parallel the JRE's
...
java.util.function to provide home for our "failable" version of the
JRE's functional interfaces.
2020-06-17 15:58:26 -04:00
Gary Gregory
36111ba582
[LANG-1568] More failable functional interfaces to match JRE functional
...
interfaces.
2020-06-17 09:30:21 -04:00
Gary Gregory
7f90306f90
[LANG-1568] More failable functional interfaces to match JRE functional
...
interfaces.
2020-06-14 19:27:23 -04:00
Gary Gregory
6094cf2237
Remove trailing white space.
2020-06-12 16:15:01 -04:00
Gary Gregory
f5e9f55283
[LANG-1568] Add more failable Consumers to match JRE stock Consumers.
2020-06-12 15:25:14 -04:00
Gary Gregory
540ec09e25
Sort members.
2020-06-12 11:36:13 -04:00
Gary Gregory
d88f70e8ff
[LANG-1568] FailableBooleanSupplier, FailableIntSupplier,
...
FailableLongSupplier, FailableDoubleSupplier.
2020-06-12 11:35:37 -04:00
Gary Gregory
42a73e1499
Add missing Javadoc.
2020-06-12 09:01:16 -04:00
Gary Gregory
8f7eb6ce20
Simplify lambads.
...
Fix Javadoc.
2020-06-11 09:55:02 -04:00
Gary Gregory
e968ad5a3f
Add missing @since 3.9 and 3.10 Javadoc tags.
...
Clean up formatting.
Clean up Javadocs.
Sort methods in AB order.
2020-06-11 09:43:11 -04:00
Gary Gregory
598e8bd51e
Javadoc.
2020-06-10 09:07:59 -04:00
Peter Verhas
179e8f4775
try to cleanup merging ( #493 )
2020-02-19 00:58:33 -05:00
Gary Gregory
f46f4e35c3
Don't prefix parameter names with 'p'.
2020-02-17 10:10:40 -05:00
Peter Verhas
80839be457
JavaDoc was modified adding {@code around pre formatted text so there is no need for HTML escape sequences ( #490 )
2020-02-17 09:58:19 -05:00
Gary Gregory
0568456103
Remove redundant type arguments and end-of-line whitespace.
2020-02-14 09:39:49 -05:00
Gary Gregory
485876f9c2
Use final.
2020-02-14 09:36:04 -05:00
Jochen Wiedmann
2ea44b2ada
- Added the Streams class.
...
- Added Functions.stream() as an accessor method.
2020-01-26 22:57:13 +01:00
Gary Gregory
3744263970
Use Objects.requireNonNull() instead of custom check. Minor formatting.
2019-12-25 23:00:43 -05:00
Peter Verhas
23931d528e
Functions Javadoc ( #466 )
...
* LANG-1480 getAbbreviatedName refactored to create appropriate length short class names
* LANG-1480 code fixed for special extreme case ".." abbreviated to 1 length should result ".." it was throwing exception. Tests are added
* import changed to avoid wild cards
apache master merged into current branch
* Mutable object import was moved to it's original place
* some accidental formatting reverted
* some accidental formatting reverted
* some accidental formatting reverted
* some accidental formatting reverted
* some accidental formatting reverted
* some accidental formatting reverted
* some accidental formatting reverted
* added another test case
* LANG-1480 fixing JavaDoc documentation as per requested by garydgregory
* LANG-1480 shortcut implemented, argument renamed, more tests
* LANG-1480 checkstyle update
* LANG-1492 tests methods modified to be public
* LANG-1480 imports rearranged
* LANG-1480 imports rearranged
* LANG-1480 imports rearranged
* javadoc was added that explains why there is a return type for a method that never returns
* wording changed in comment
* fixes based on code review by garydgregory
2019-12-21 08:42:53 -05:00
Gary Gregory
7bbbdd2477
Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation.
2019-12-10 16:27:02 -05:00
Peter Verhas
a32c188c32
Code refactor to simplify Functions and new tests ( #463 )
...
* more tests
* formatting change as per requested by checkstyle
* DisplayName was added to the tests
* throw on odd refactored to eliminate copy paste
2019-10-12 15:12:17 -04:00
Sebb
970d794e82
Merge conditionals - no need for separate if block
2019-09-05 17:12:09 +01:00
Gary Gregory
327cf6047d
Remove trailing white spaces on all lines.
2019-09-05 11:49:43 -04:00
Gary Gregory
5eac208ce6
Javadoc nits.
2019-09-05 11:41:05 -04:00
Bruno P. Kinoshita
26bc45fdee
Fix checkstyle violations (tabs, missing spaces after commas, missing javadocs)
2019-08-25 13:09:20 +12:00
Jochen Wiedmann
bc16e0109a
PR: LANG-1447
...
Added Functions.as* methods.
2019-08-22 22:09:11 +02:00
Allon Mureinik
fc6a392b7c
Fix javadoc errors in Functions.java
2019-02-08 20:08:56 +02:00
Allon Mureinik
c5eadb1c6d
Functions.java whitspaces
...
Replace tabs with four spaces, as per the project's Checkstyle rules.
2019-02-08 19:30:35 +02:00
Allon Mureinik
962e529984
Add spaces after commas in Functions.java
...
Add spaces after commas as per the project's Checkstyle rules.
2019-02-08 19:29:06 +02:00
Allon Mureinik
028c9ec70c
Remove unused generic argument from Functions#tryWithResources
2019-02-08 19:25:27 +02:00
Allon Mureinik
b08c92e75d
Fix Javadoc issues in Functions
2019-02-08 19:23:40 +02:00
Allon Mureinik
f7fae53aec
Functions' interfaces modifiers
...
Remove the redundant public modifier from the inner interfaces in
Functions, as per the Checkstyle policy of the project.
2019-02-08 18:18:40 +02:00
Jochen Wiedmann (jwi)
2ebc17ba3f
Added Functions.tryWithResources.
2019-01-29 11:42:07 +01:00
Jochen Wiedmann (jwi)
11d9eb47a4
Adding the Functions class as a helper for dealing with Java 8 Lambdas.
2019-01-23 14:59:25 +01:00