public final class TypeAdapterLookupDelegate extends Object
| Constructor and Description |
|---|
TypeAdapterLookupDelegate(Map<Class<?>,Function> registeredTypeAdapter) |
| Modifier and Type | Method and Description |
|---|---|
Function<Object,Object> |
getAdapterFor(Class<?> clazz)
Retrieves an adapter for the specified class.
|
boolean |
hasAdapterFor(Class<?> clazz) |
public Function<Object,Object> getAdapterFor(Class<?> clazz)
clazz - The class for which an adapter is needed.public boolean hasAdapterFor(Class<?> clazz)
Copyright © 2015–2023 Neo Technology, Inc.. All rights reserved.