public static class JohnzonAdapterFactory.ConstantInstance<T> extends java.lang.Object implements JohnzonAdapterFactory.Instance<T>
| Constructor and Description |
|---|
ConstantInstance(T value) |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue() |
void |
release() |
private final T value
public ConstantInstance(T value)
public T getValue()
getValue in interface JohnzonAdapterFactory.Instance<T>public void release()
release in interface JohnzonAdapterFactory.Instance<T>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.