Key - Key Node type.public final class CkdFunctionResultCacheDecorator<Key> extends Object implements CkdFunction<Key>
If the same child of the same parent is requested a second time, the original result will be returned.
| Modifier and Type | Method and Description |
|---|---|
Key |
deriveChildKey(Key parent,
int childIndex)
Derives the child at the given index on the parent.
|
public Key deriveChildKey(Key parent, int childIndex)
CkdFunctionderiveChildKey in interface CkdFunction<Key>parent - The parent to find the child ofchildIndex - The index of the childKeyNode for the childCopyright © 2020. All rights reserved.