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 primitiveObjectMap. Partially addresses #1217.
Signed-off-by: Emilie Robichaud <emilie.robichaud@bnymellon.com>
- Loading branch information
1 parent
601540c
commit f8bd58f
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...generator/src/main/resources/api/block/function/objectPrimitiveObjectToObjectFunction.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) ::= "Object<primitive.name>ObjectToObjectFunction" | ||
|
||
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 objectPrimitiveObjectToObjectFunction.stg. | ||
* | ||
* @since 11.1. | ||
*/ | ||
@FunctionalInterface | ||
public interface Object<name>ObjectToObjectFunction\<T1, T2, R> | ||
extends Serializable | ||
{ | ||
R valueOf(T1 object1, <type> value, T2 object2); | ||
} | ||
|
||
>> |
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