InsertionResult
An instance of this class reports whether insert operation was successful. if a node was added, or an existing one replaced then an iterator is provided. Otherwise the value of iterator is undefined
Constructor Summary
Public Constructor | ||
public |
constructor(wasAdded: Boolean, wasReplaced: Boolean, iterator: Iterator) Default constructor |
Member Summary
Public Members | ||
public |
iterator: * {Iterator} instance pointing to the newly added node |
|
public |
wasAdded: * Boolean flag indicating whether an element was added |
|
public |
wasReplaced: * Boolean flag indicating whether an existing node was updated |