public abstract class ImmutableNode<E,N extends OpenNode<E,? extends N>> extends NonSettableNode<E,N>
Modifier and Type | Field and Description |
---|---|
protected SimpleCollection<N> |
children |
element
Constructor and Description |
---|
ImmutableNode(E element,
DuplicateOnWriteSimpleCollection<N> children) |
ImmutableNode(E element,
ImmutableNode<E,N>[] childNodes) |
ImmutableNode(E element,
Object[] childNodes) |
Modifier and Type | Method and Description |
---|---|
Iterator<? extends N> |
childIterator() |
int |
getNumberOfChildren() |
getElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementClass, isLeaf
protected final SimpleCollection<N extends OpenNode<E,? extends N>> children
public ImmutableNode(E element, ImmutableNode<E,N>[] childNodes)
public ImmutableNode(E element, DuplicateOnWriteSimpleCollection<N> children)
Copyright © 2014–2016. All rights reserved.