protected final class IndexedAttributeHolder.IndexedAttributeAccessorImpl extends Object implements IndexedAttributeAccessor
IndexedAttributeAccessor implementation.| Modifier | Constructor and Description |
|---|---|
protected |
IndexedAttributeHolder.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.
|
protected IndexedAttributeHolder.IndexedAttributeAccessorImpl()
public Object getAttribute(int index)
getAttribute in interface IndexedAttributeAccessorindex - the attribute indexpublic Object getAttribute(int index, NullaryFunction initializer)
getAttribute in interface IndexedAttributeAccessorindex - the attribute indexinitializer - the default value NullaryFunctionpublic void setAttribute(int index,
Object value)
setAttribute in interface IndexedAttributeAccessorindex - the attribute indexvalue - the valuepublic Object removeAttribute(int index)
IndexedAttributeAccessorremoveAttribute in interface IndexedAttributeAccessorindex - the attribute indexCopyright © 2015 Oracle Corporation. All Rights Reserved.