Top Inners Fields Methods
org.junit.jupiter.params

pack-priv Interface ResolutionCache

Known Direct Implementers
org.junit.jupiter.params.ResolutionCache.Concurrent
Imports
java.util.Map, java.util.concurrent.ConcurrentHashMap, java.util.function.Supplier, org.jspecify.annotations.Nullable, org.junit.jupiter.params.support.ParameterDeclaration

Since
5.13

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final ResolutionCache

Method Summary

Modifier and TypeMethod and Description
public static ResolutionCache
public @Nullable Object
resolve(ParameterDeclaration declaration, Supplier<?> resolver)

Field Detail

DISABLEDback to summary
public static final ResolutionCache DISABLED

Method Detail

enabledback to summary
public static ResolutionCache enabled()
resolveback to summary
public @Nullable Object resolve(ParameterDeclaration declaration, Supplier<?> resolver)
org.junit.jupiter.params back to summary

public Class ResolutionCache.Concurrent

extends Object
implements ResolutionCache
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.params.ResolutionCache

Field Summary

Modifier and TypeField and Description
private final Map<ParameterDeclaration, Object>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheback to summary
private final Map<ParameterDeclaration, Object> cache

Constructor Detail

Concurrentback to summary
public Concurrent()

Method Detail

resolveback to summary
public @Nullable Object resolve(ParameterDeclaration declaration, Supplier<?> resolver)

Implements org.junit.jupiter.params.ResolutionCache.resolve.

Annotations
@Override