public final class NodeSet extends HashSet<Node>
java.util.Set
of the simplified versions of Node
instances.NodeSimplifier
,
Serialized FormConstructor and Description |
---|
NodeSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Node n)
Adds the simplified version of the specified
Node to this set if it is not already present. |
clear, clone, contains, isEmpty, iterator, remove, size, spliterator
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
parallelStream, removeIf, stream
public boolean add(Node n)
Node
to this set if it is not already present.add
in interface Collection<Node>
add
in interface Set<Node>
add
in class HashSet<Node>
n
- element that a simplified version of will be added to this settrue
if this set did not already contain a simplified version of the specified Node
NodeSimplifier
OakGP Genetic Programming Framework