public static class DefaultMap.StaticValueFactory<T> extends Object implements DefaultMap.ValueFactory<T>, Serializable
DefaultMap.ValueFactory
interface for
static values. Used for testing, exposed in case you want an updating map
with a static value (although why you'd want that, I don't know).Constructor and Description |
---|
StaticValueFactory(T value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
T |
newInstance()
Returns an instance of the object.
|
public StaticValueFactory(T value)
public T newInstance()
ObjectFactory
newInstance
in interface DefaultMap.ValueFactory<T>
newInstance
in interface ObjectFactory<T>