public class TreeNodeChildren extends TreeNodeList
modCount| Constructor and Description | 
|---|
| TreeNodeChildren(TreeNode parent) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(int index,
   TreeNode node) | 
| boolean | add(TreeNode node) | 
| boolean | addAll(Collection<? extends TreeNode> collection) | 
| boolean | addAll(int index,
      Collection<? extends TreeNode> collection) | 
| TreeNode | remove(int index) | 
| boolean | remove(Object object) | 
| TreeNode | set(int index,
   TreeNode node) | 
| TreeNode | setSibling(int index,
          TreeNode node)Optimized set implementation to be used in sorting | 
clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic TreeNodeChildren(TreeNode parent)
public boolean add(TreeNode node)
public void add(int index,
                TreeNode node)
public boolean addAll(Collection<? extends TreeNode> collection)
public boolean addAll(int index,
                      Collection<? extends TreeNode> collection)
public TreeNode setSibling(int index, TreeNode node)
setSibling in class TreeNodeListindex - index of the element to replacenode - node to be stored at the specified positionpublic TreeNode remove(int index)
Copyright © 2020. All rights reserved.