protected final class IndexedAttributeHolder.IndexedAttributeAccessorImpl extends Object implements IndexedAttributeAccessor
IndexedAttributeAccessor
implementation.Modifier | Constructor and Description |
---|---|
protected |
IndexedAttributeAccessorImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(int index)
Internal method for dynamic attribute support.
|
Object |
getAttribute(int index,
NullaryFunction initializer)
Internal method for dynamic attribute support.
|
Object |
removeAttribute(int index)
Internal method for dynamic attribute support.
|
void |
setAttribute(int index,
Object value)
Internal method for dynamic attribute support.
|
public Object getAttribute(int index)
getAttribute
in interface IndexedAttributeAccessor
index
- the attribute indexpublic Object getAttribute(int index, NullaryFunction initializer)
getAttribute
in interface IndexedAttributeAccessor
index
- the attribute indexinitializer
- the default value NullaryFunction
public void setAttribute(int index, Object value)
setAttribute
in interface IndexedAttributeAccessor
index
- the attribute indexvalue
- the valuepublic Object removeAttribute(int index)
IndexedAttributeAccessor
removeAttribute
in interface IndexedAttributeAccessor
index
- the attribute indexCopyright © 2015 Oracle Corporation. All rights reserved.