82
83 /**
84 * Returns true if the receiver allows children.
85 *
86 * @return whether the receiver allows children
87 */
88 boolean getAllowsChildren();
89
90 /**
91 * Returns true if the receiver is a leaf.
92 *
93 * @return whether the receiver is a leaf
94 */
95 boolean isLeaf();
96
97 /**
98 * Returns the children of the receiver as an <code>Enumeration</code>.
99 *
100 * @return the children of the receiver as an {@code Enumeration}
101 */
102 Enumeration<TreeNode> children();
103 }
|
82
83 /**
84 * Returns true if the receiver allows children.
85 *
86 * @return whether the receiver allows children
87 */
88 boolean getAllowsChildren();
89
90 /**
91 * Returns true if the receiver is a leaf.
92 *
93 * @return whether the receiver is a leaf
94 */
95 boolean isLeaf();
96
97 /**
98 * Returns the children of the receiver as an <code>Enumeration</code>.
99 *
100 * @return the children of the receiver as an {@code Enumeration}
101 */
102 Enumeration<? extends TreeNode> children();
103 }
|