2003-12-18 Michael Koch <konqueror@gmx.de>

* java/util/prefs/AbstractPreferences.java
	(cachedChildren): New method.

From-SVN: r74785
This commit is contained in:
Michael Koch 2003-12-18 16:48:33 +00:00 committed by Michael Koch
parent e969bcdbbc
commit a7296ae157
2 changed files with 15 additions and 0 deletions

View file

@ -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.