2003-12-18 Michael Koch <konqueror@gmx.de>
* java/util/prefs/AbstractPreferences.java (cachedChildren): New method. From-SVN: r74785
This commit is contained in:
parent
e969bcdbbc
commit
a7296ae157
2 changed files with 15 additions and 0 deletions
|
@ -182,6 +182,16 @@ public abstract class AbstractPreferences extends Preferences {
|
|||
+ absolutePath();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all known unremoved children of this node.
|
||||
*
|
||||
* @return All known unremoved children of this node
|
||||
*/
|
||||
protected final AbstractPreferences[] cachedChildren()
|
||||
{
|
||||
return (AbstractPreferences[]) childCache.values().toArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all the direct sub nodes of this preferences node.
|
||||
* Needs access to the backing store to give a meaningfull answer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue