Home Reference Source
import {InsertionResult} from 'jstreemap/src/public/insertion-result.js'
public class | source

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

Member Summary

Public Members
public

{Iterator} instance pointing to the newly added node

public

Boolean flag indicating whether an element was added

public

Boolean flag indicating whether an existing node was updated

Public Constructors

public constructor() source

Public Members

public iterator: * source

{Iterator} instance pointing to the newly added node

public wasAdded: * source

Boolean flag indicating whether an element was added

public wasReplaced: * source

Boolean flag indicating whether an existing node was updated