Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add injectIntoKeyValue to objectPrimitiveMap. Closes #1217.
Signed-off-by: Emilie Robichaud <emilie.robichaud@bnymellon.com>
- Loading branch information
1 parent
36ab4c8
commit 413450d
Showing
6 changed files
with
67 additions
and
9 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...generator/src/main/resources/api/block/function/objectObjectPrimitiveToObjectFunction.stg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import "copyrightAndOthers.stg" | ||
|
||
targetPath() ::= "org/eclipse/collections/api/block/function/primitive" | ||
|
||
fileName(primitive) ::= "ObjectObject<primitive.name>ToObjectFunction" | ||
|
||
class(primitive) ::= << | ||
<body(primitive.type, primitive.name, primitive.wrapperName)> | ||
>> | ||
|
||
body(type, name, wrapperName) ::= << | ||
<copyrightAndOthers()> | ||
|
||
package org.eclipse.collections.api.block.function.primitive; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* This file was automatically generated from template file objectObjectPrimitiveToObjectFunction.stg. | ||
* | ||
* @since 11.1. | ||
*/ | ||
@FunctionalInterface | ||
public interface ObjectObject<name>ToObjectFunction\<T1, T2, R> | ||
extends Serializable | ||
{ | ||
R valueOf(T1 object1, T2 object2, <type> value); | ||
} | ||
|
||
>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters