2003-12-18 Michael Koch <konqueror@gmx.de>
* java/util/prefs/AbstractPreferences.java (cachedChildren): New method. From-SVN: r74785
This commit is contained in:
committed by
Michael Koch
parent
e969bcdbbc
commit
a7296ae157
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user