public class ExtendedHolder<T> extends Holder<T>
Constructor and Description |
---|
ExtendedHolder()
Constructs a holder with a
null value. |
ExtendedHolder(T value)
Constructs a holder with the given value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getExtraValue(String name)
Gets an extra value,
|
void |
setExtraValue(String name,
Object value)
Sets an extra value.
|
String |
toString() |
public ExtendedHolder()
null
value.public ExtendedHolder(T value)
public void setExtraValue(String name, Object value)
name
- the name of the valuevalue
- the valuepublic Object getExtraValue(String name)
name
- the name of the valuenull
if a value with the given name doesn't
existCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.