public interface IndexedAttributeAccessor
AttributeHolder
supports
indexed Attribute
access.AttributeHolder
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.
|
Object getAttribute(int index)
index
- the attribute indexObject getAttribute(int index, NullaryFunction initializer)
index
- the attribute indexinitializer
- the default value NullaryFunction
void setAttribute(int index, Object value)
index
- the attribute indexvalue
- the valueObject removeAttribute(int index)
index
- the attribute indexCopyright © 2015 Oracle Corporation. All rights reserved.