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