Documentation

Class Phalcon\Intrusive\Avltree

Source on GitHub

This class defines avltree entity and its description

Methods

final public __construct ()

Phalcon\Intrusive\Avltree constructor

public Phalcon\Intrusive\Avltree\Node insert (mixed $value)

Insert node value

public boolean remove (mixed $value)

Remove node value

public Phalcon\Intrusive\Avltree\Node replace (mixed $oldValue, mixed $newValue)

Replace node value

public Phalcon\Intrusive\Avltree\Node find (mixed $value)

Lookup node value

public Phalcon\Intrusive\Avltree\Node first ()

Returns first node value

public Phalcon\Intrusive\Avltree\Node last ()

Returns last node value

public Phalcon\Intrusive\Avltree\Node prev (mixed $value)

Returns prev node value

public Phalcon\Intrusive\Avltree\Node next (mixed $value)

Returns next node value