Top Description Methods
com.typesafe.config.impl

pack-priv Interface Container

extends ConfigValue
Known Direct Subinterfaces
com.typesafe.config.impl.ReplaceableMergeStack
Known Direct Implementers
com.typesafe.config.impl.SimpleConfigList, com.typesafe.config.impl.AbstractConfigObject, com.typesafe.config.impl.ConfigConcatenation

An AbstractConfigValue which contains other values. Java has no way to express "this has to be an AbstractConfigValue also" other than making AbstractConfigValue an interface which would be aggravating. But we can say we are a ConfigValue.

Method Summary

Modifier and TypeMethod and Description
public boolean
hasDescendant(AbstractConfigValue descendant)

Super-expensive full traversal to see if descendant is anywhere underneath this container.

public AbstractConfigValue
replaceChild(AbstractConfigValue child, AbstractConfigValue replacement)

Replace a child of this value.

Inherited from com.typesafe.config.ConfigValue:
atKeyatPathoriginrenderrenderunwrappedvalueTypewithFallbackwithOrigin

Method Detail

hasDescendantback to summary
public boolean hasDescendant(AbstractConfigValue descendant)

Super-expensive full traversal to see if descendant is anywhere underneath this container.

replaceChildback to summary
public AbstractConfigValue replaceChild(AbstractConfigValue child, AbstractConfigValue replacement)

Replace a child of this value. CAUTION if replacement is null, delete the child, which may also delete the parent, or make the parent into a non-container.