azure-docs-sdk-java/docs-ref-autogen/com.azure.spring.data.cosmo...

49 строки
3.1 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaType
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"
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>"
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"
modifiers:
- "static"
parameters:
- 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>&lt;<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\" />&gt;"
syntax: "public static Function<I,O> <I,O>memoize(Function<I,O> function)"
desc: "Put function computation results into Memoizer"
returns:
description: "Function"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html\">Function</a>&lt;<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\" />&gt;"
type: "class"
typeParameters:
- name: "I"
- name: "O"
desc: "Memoize function computation results"
metadata: {}
package: "com.azure.spring.data.cosmos.common"
artifact: com.azure:azure-spring-data-cosmos:3.46.0