2024-02-10 08:55:07 +03:00
|
|
|
### YamlMime:JavaType
|
2024-06-07 11:38:48 +03:00
|
|
|
uid: "com.azure.spring.data.cosmos.common.Memoizer"
|
|
|
|
fullName: "com.azure.spring.data.cosmos.common.Memoizer<I,O>"
|
|
|
|
name: "Memoizer<I,O>"
|
|
|
|
nameWithType: "Memoizer<I,O>"
|
|
|
|
summary: "Memoize function computation results"
|
2024-02-10 08:55:07 +03:00
|
|
|
inheritances:
|
|
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
|
|
inheritedClassMethods:
|
|
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
|
|
methodsRef:
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
2024-06-07 11:38:48 +03:00
|
|
|
syntax: "public final class **Memoizer<I,O>**"
|
|
|
|
methods:
|
|
|
|
- uid: "com.azure.spring.data.cosmos.common.Memoizer.<I,O>memoize(java.util.function.Function<I,O>)"
|
|
|
|
fullName: "com.azure.spring.data.cosmos.common.Memoizer<I,O>.<I,O>memoize(Function<I,O> function)"
|
|
|
|
name: "<I,O>memoize(Function<I,O> function)"
|
|
|
|
nameWithType: "Memoizer<I,O>.<I,O>memoize(Function<I,O> function)"
|
|
|
|
summary: "Put function computation results into Memoizer"
|
2024-02-10 08:55:07 +03:00
|
|
|
modifiers:
|
2024-06-07 11:38:48 +03:00
|
|
|
- "static"
|
2024-02-10 08:55:07 +03:00
|
|
|
parameters:
|
2024-06-07 11:38:48 +03:00
|
|
|
- description: "represents a function that accepts one argument and produces a result"
|
|
|
|
name: "function"
|
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html\">Function</a><<xref href=\"I?alt=I&text=I\" data-throw-if-not-resolved=\"False\" />,<xref href=\"O?alt=O&text=O\" data-throw-if-not-resolved=\"False\" />>"
|
|
|
|
syntax: "public static Function<I,O> <I,O>memoize(Function<I,O> function)"
|
|
|
|
desc: "Put function computation results into Memoizer"
|
2024-02-10 08:55:07 +03:00
|
|
|
returns:
|
2024-06-07 11:38:48 +03:00
|
|
|
description: "Function"
|
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html\">Function</a><<xref href=\"I?alt=I&text=I\" data-throw-if-not-resolved=\"False\" />,<xref href=\"O?alt=O&text=O\" data-throw-if-not-resolved=\"False\" />>"
|
2024-02-10 08:55:07 +03:00
|
|
|
type: "class"
|
2024-06-07 11:38:48 +03:00
|
|
|
typeParameters:
|
2024-09-11 08:01:23 +03:00
|
|
|
- description: "the type of the input to the function."
|
|
|
|
name: "I"
|
|
|
|
- description: "the type of the output of the function."
|
|
|
|
name: "O"
|
2024-06-07 11:38:48 +03:00
|
|
|
desc: "Memoize function computation results"
|
2024-02-10 08:55:07 +03:00
|
|
|
metadata: {}
|
2024-06-07 11:38:48 +03:00
|
|
|
package: "com.azure.spring.data.cosmos.common"
|
2024-11-06 07:13:08 +03:00
|
|
|
artifact: com.azure:azure-spring-data-cosmos:5.18.0
|