Adding more JavaDoc (fixing roughly 8k javadoc errors)
-Added: JavaDocs to Map classes/constructors -Added: JavaDocs to the Maps Class
This commit is contained in:
1 parent
2ca14f4d4f
commit
0017697b07
22 files changed
+877
-35
No files matched your search
@@ -20,6 +20,12 @@ public interface CONSUMER extends Consumer<CLASS_TYPE>
|
||||
*/
|
||||
void accept(KEY_TYPE t);
|
||||
|
||||
/**
|
||||
* Type Specific sequencing method to reduce boxing/unboxing.
|
||||
* @param after a operation that should be performed afterwards
|
||||
* @return a sequenced consumer that does 2 operations
|
||||
* @throws NullPointerException if after is null
|
||||
*/
|
||||
public default CONSUMER andThen(CONSUMER after) {
|
||||
Objects.requireNonNull(after);
|
||||
return T -> {accept(T); after.accept(T);};
|
||||
|
||||
Reference in new issue
Block a user