/** * Removes this child from the structure. * @return the parent builder */ public ParentBuilder remove() { removeAllChildren(); Set<FullNode> siblings = getSiblings(); FullNode myBlueprint = blueprints.remove(myPath); siblings.remove(myBlueprint); return parentBuilder; }
/** * Removes this child from the structure. * @return the parent builder */ public ParentBuilder remove() { removeAllChildren(); Set<FullNode> siblings = getSiblings(); FullNode myBlueprint = blueprints.remove(myPath); siblings.remove(myBlueprint); return parentBuilder; }