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

@ -1,3 +1,8 @@
2003-12-18 Michael Koch <konqueror@gmx.de>
* java/util/prefs/AbstractPreferences.java
(cachedChildren): New method.
2003-12-18 Michael Koch <konqueror@gmx.de> 2003-12-18 Michael Koch <konqueror@gmx.de>
* java/util/TimeZone.java (getOffset): New method. * java/util/TimeZone.java (getOffset): New method.

View file

@ -182,6 +182,16 @@ public abstract class AbstractPreferences extends Preferences {
+ absolutePath(); + 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. * Returns all the direct sub nodes of this preferences node.
* Needs access to the backing store to give a meaningfull answer. * Needs access to the backing store to give a meaningfull answer.